net-dns/djbdns: remove pkg_config

This commit is contained in:
Daniel Mierswa 2013-10-10 03:38:10 +02:00
parent f8f1d5a8f0
commit 00c82eecc3

View file

@ -31,21 +31,10 @@ DEFAULT_SRC_PREPARE_PATCHES+=(
"${FILES}/${PNV}-error.patch" "${FILES}/${PNV}-error.patch"
) )
pkg_config() { pkg_postinst() {
if [ -z "${DNSCACHE_DIR}" ] ; then elog "To setup dnscache in an empty directory use:"
einfo "Set DNSCACHE_DIR to a non-existing directory to setup dnscache." elog "/usr/sbin/dnscache-conf dnscache dnslog <directory>"
else elog "Likewise if you want to setup tinydns:"
einfo "Setting up dnscache in ${DNSCACHE_DIR}" elog "/usr/sbin/tinydns-conf tinydns dnslog <directory>"
/usr/bin/dnscache-conf dnscache dnslog "${DNSCACHE_DIR}" }
eend $?
fi
if [ -z "${TINYDNS_DIR}" ] ; then
einfo "Set TINYDNS_DIR to a non-existing directory to setup tinydns."
else
einfo "Setting up tinydns in ${TINYDNS_DIR}"
/usr/bin/tinydns-conf tinydns dnslog "${TINYDNS_DIR}"
eend $?
fi
}