abinfo "Configuring man-db ..."
"$SRCDIR"/configure ${AUTOTOOLS_DEF[@]} \
            --with-systemdtmpfilesdir=/usr/lib/tmpfiles.d \
            --with-systemdsystemunitdir=/usr/lib/systemd/system \
            --with-db=gdbm \
	    --disable-setuid \
            --enable-cache-owner=root \
	    --enable-mandirs=GNU \
	    --with-sections="1 n l 8 3 0 2 5 4 9 6 7"

abinfo "Building man-db ..."
make

abinfo "Installing man-db ..."
make DESTDIR="$PKGDIR" install

abinfo "Avoiding a DPKG warning ..."
mkdir -pv "$PKGDIR"/var/cache/man
