diff options
author | Stewart Honsberger <blkdeath@gentoo.org> | 2003-11-11 23:16:51 +0000 |
---|---|---|
committer | Stewart Honsberger <blkdeath@gentoo.org> | 2003-11-11 23:16:51 +0000 |
commit | 030f8fcb7b5c3a001c5d2adf6350484afb05641d (patch) | |
tree | da03f446ee53cba267e973671db72cff19dcffe7 /net-dns | |
parent | Version bump. (diff) | |
download | historical-030f8fcb7b5c3a001c5d2adf6350484afb05641d.tar.gz historical-030f8fcb7b5c3a001c5d2adf6350484afb05641d.tar.bz2 historical-030f8fcb7b5c3a001c5d2adf6350484afb05641d.zip |
Dynamic linked binaries
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/bind-tools/Manifest | 2 | ||||
-rw-r--r-- | net-dns/bind-tools/bind-tools-9.2.3.ebuild | 28 |
2 files changed, 23 insertions, 7 deletions
diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest index 7c1d7e540090..49140c720167 100644 --- a/net-dns/bind-tools/Manifest +++ b/net-dns/bind-tools/Manifest @@ -2,7 +2,7 @@ MD5 755b86250aa02fe2fa980ae62b481bf4 ChangeLog 1973 MD5 526929842488459df21c6acfd61c4217 bind-tools-9.2.2.ebuild 981 MD5 27da0a70bd868df3e8e22314a3643056 bind-tools-9.2.2_rc1.ebuild 927 MD5 63bd6e87942a25d48bd5365edd8246c0 metadata.xml 268 -MD5 72247876c327529f07a888e658f28e32 bind-tools-9.2.3.ebuild 991 +MD5 3ae81f4e2aacf5c1780e4017487deb4c bind-tools-9.2.3.ebuild 1494 MD5 a0f2b38a7e0c8d2b88d172c36162a7b3 files/digest-bind-tools-9.2.2 190 MD5 8c87d7839f4a6caa9c690e5905a247f4 files/digest-bind-tools-9.2.2_rc1 66 MD5 1d83f3065ae3bad0e88ae3bfe1e95ced files/nslookup.8 14638 diff --git a/net-dns/bind-tools/bind-tools-9.2.3.ebuild b/net-dns/bind-tools/bind-tools-9.2.3.ebuild index 20ee9a60c7be..79bfbab3e911 100644 --- a/net-dns/bind-tools/bind-tools-9.2.3.ebuild +++ b/net-dns/bind-tools/bind-tools-9.2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.2.3.ebuild,v 1.1 2003/11/11 22:36:34 blkdeath Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.2.3.ebuild,v 1.2 2003/11/11 23:16:32 blkdeath Exp $ MY_P=${P//-tools} MY_P=${MY_P/_} @@ -16,21 +16,37 @@ SLOT="0" DEPEND="virtual/glibc" src_compile() { - econf || die "configure failed" + use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no" + + econf ${myconf} || die "configure failed" export MAKEOPTS="${MAKEOPTS} -j1" cd ${S}/lib/isc - emake || die "make failed in /lib/isc" - + make && ld -shared -s -o libisc.so -whole-archive libisc.a \ + || die "make failed in /lib/isc" + cp libisc.so ../../bin/dig/ || die + cd ${S}/lib/dns - emake || die "make failed in /lib/dns" + make && ld -shared -s -o libdns.so -whole-archive libdns.a \ + || die "make failed in /lib/dns" + cp libdns.so ../../bin/dig/ || die cd ${S}/bin/dig - emake || die "make failed in /bin/dig" + cp Makefile Makefile.org + sed -e 's:../../lib/dns/libdns.a:libdns.so:' \ + -e 's:../../lib/isc/libisc.a:libisc.so:' \ + Makefile.org > Makefile || die + make || die "make failed in /bin/dig" } src_install() { + cd ${S}/lib/dns + dolib libdns.so + + cd ${S}/lib/isc + dolib libisc.so + cd ${S}/bin/dig dobin dig host nslookup doman dig.1 host.1 |