--- bind-9.2.1-r2.orig Thu Aug 15 14:36:27 2002 +++ bind-9.2.1-r2.ebuild Thu Aug 15 15:34:00 2002 @@ -22,9 +22,7 @@ use ssl && myconf="${myconf} --with-openssl" use ipv6 && myconf="${myconf} --enable-ipv6" - ./configure \ - --prefix=/usr \ - --host=${CHOST} \ + econf \ --sysconfdir=/etc/bind \ --localstatedir=/var \ --enable-threads \ @@ -37,7 +35,7 @@ src_install() { make DESTDIR=${D} install || die "failed to install bind" - for x in `grep -l -d recurse -e '/etc/named.conf' -e '/etc/rndc.conf' -e '/etc/rndc.key' ${D}/usr/man`; do + for x in `grep -l -d recurse -e '/etc/named.conf' -e '/etc/rndc.conf' -e '/etc/rndc.key' ${D}/usr/share/man`; do cp ${x} ${x}.orig sed -e 's:/etc/named.conf:/etc/bind/named.conf:g' \ -e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' \ @@ -45,8 +43,11 @@ rm ${x}.orig done - find ${D}/usr/man ! -name "*[1-8]gz" -type f -exec gzip -f "{}" \; - insinto /usr/man/man5 ; doins ${FILESDIR}/named.conf.5.gz + find ${D}/usr/share/man ! -name "*[1-8]gz" -type f -exec gzip -9 -f "{}" \; + insinto /usr/share/man/man5 ; doins ${FILESDIR}/named.conf.5.gz +# The doman function doesnt seem to do the right thing, see bug 6544 +# doman ${FILESDIR}/named.conf.5.gz + doman ${FILESDIR}/nslookup.8 dodoc CHANGES COPYRIGHT FAQ README docinto misc ; dodoc doc/misc/*