abinfo "Configuring GNUstep Base ..."
"$SRCDIR"/configure \
    --prefix=/usr \
    --sysconfdir=/etc/GNUstep \
    --disable-bfd

abinfo "Fixing up timezone archive generation ..."
sed -e 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' \
    -i "$SRCDIR"/NSTimeZones/Makefile.postamble

abinfo "Tweaking GnuTLS policies ..."
sed -e 's|.*gnutls_transport_set_lowat.*||' \
    -i "$SRCDIR"/Source/GSSocketStream.m

abinfo "Building GNUstep Base ..."
make

abinfo "Installing GNUstep Base ..."
make install \
    DESTDIR="$PKGDIR"

