#!/bin/sh

. config/options

cd $BUILD/$1*

if pkg_uses $1 xorg; then
  XORG_CONFIG="--with-x"
else
  XORG_CONFIG="--without-x"
fi

do_configure \
            --disable-gtk-doc-html \
            --with-included-modules=yes \
            $XORG_CONFIG

make
make_install
