net-libs/libpcap: Fix test cross-compile
authorCédric Krier <cedk@gentoo.org>
Sat, 21 Apr 2007 10:12:00 +0000 (10:12 +0000)
committerCédric Krier <cedk@gentoo.org>
Sat, 21 Apr 2007 10:12:00 +0000 (10:12 +0000)
Package-Manager: portage-2.1.2.2

net-libs/libpcap/ChangeLog
net-libs/libpcap/Manifest
net-libs/libpcap/libpcap-0.9.5.ebuild

index ad976ef1b787cb91b65d0eab48747d617914f512..a1b7339cef752a69ccf8fd34c0e678f991aa2999 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-libs/libpcap
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.67 2007/04/20 18:25:14 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.68 2007/04/21 10:12:00 cedk Exp $
+
+  21 Apr 2007; Cedric Krier <cedk@gentoo.org> libpcap-0.9.5.ebuild:
+  Fix test cross-compile
 
   20 Apr 2007; Cedric Krier <cedk@gentoo.org> libpcap-0.9.5.ebuild:
   Remove is_crosscompile function
index 650bc64b302485b21bac48d6ee66843a7ef3460f..ec2150b2c604f70fb0f74ccc678ba255c7c0ec60 100644 (file)
@@ -12,14 +12,14 @@ EBUILD libpcap-0.9.4.ebuild 1537 RMD160 2a8e2c5c898dd4119217006145b60965345e74ad
 MD5 ebf49e31d3f5b853cf19c469a1854082 libpcap-0.9.4.ebuild 1537
 RMD160 2a8e2c5c898dd4119217006145b60965345e74ad libpcap-0.9.4.ebuild 1537
 SHA256 fab4e0c54b3e6ffbf2743c6905f2a1b84e828654efb2acecab768c737e8c91ab libpcap-0.9.4.ebuild 1537
-EBUILD libpcap-0.9.5.ebuild 1946 RMD160 ab3b27416e8f38769c08eda9145fe168a1f998b9 SHA1 57588015ee3bc2be9ee5954bf329dfada019c5d4 SHA256 456da032dc0581d25510e6071a3482a11d376cbf5bf0c18693cd8c2caf1ccc9c
-MD5 c70d753aa4aef4a4b3901d245a0c1ff1 libpcap-0.9.5.ebuild 1946
-RMD160 ab3b27416e8f38769c08eda9145fe168a1f998b9 libpcap-0.9.5.ebuild 1946
-SHA256 456da032dc0581d25510e6071a3482a11d376cbf5bf0c18693cd8c2caf1ccc9c libpcap-0.9.5.ebuild 1946
-MISC ChangeLog 8683 RMD160 0cbfa95bfbb0b39abbc8715903f42dab220373af SHA1 f8135c6c156456950adaf324298fe710afcf2114 SHA256 9b2cc647791b6b8401ea8efe401b6b0bafb3baab3b9a904a399bc5248eb4dc8b
-MD5 77f0704d332240872775eeb76b687a48 ChangeLog 8683
-RMD160 0cbfa95bfbb0b39abbc8715903f42dab220373af ChangeLog 8683
-SHA256 9b2cc647791b6b8401ea8efe401b6b0bafb3baab3b9a904a399bc5248eb4dc8b ChangeLog 8683
+EBUILD libpcap-0.9.5.ebuild 1939 RMD160 82ca57aaa41811d07b146fb763930930667af577 SHA1 7348bf645a59a34851ba23fcf8dbb91556eb22dd SHA256 22abf52f7f9db8299e234cea3c3e5a09f90081634dd4f44a328af24e32e9b7de
+MD5 1dbc3f21c72bc9a1d51246a78e0737d8 libpcap-0.9.5.ebuild 1939
+RMD160 82ca57aaa41811d07b146fb763930930667af577 libpcap-0.9.5.ebuild 1939
+SHA256 22abf52f7f9db8299e234cea3c3e5a09f90081634dd4f44a328af24e32e9b7de libpcap-0.9.5.ebuild 1939
+MISC ChangeLog 8777 RMD160 4d119d381477151e85d891dd6d416f978847d7db SHA1 3559f40f5c18b70ff7a2312e2381fcbc234e26c4 SHA256 178fd7e84e9a40c699f94c4c4f3265bb8161f62b9bdcbbc0b0b8319f470abcf2
+MD5 c74a77e5372cec30645e5f71786a7e81 ChangeLog 8777
+RMD160 4d119d381477151e85d891dd6d416f978847d7db ChangeLog 8777
+SHA256 178fd7e84e9a40c699f94c4c4f3265bb8161f62b9bdcbbc0b0b8319f470abcf2 ChangeLog 8777
 MISC metadata.xml 261 RMD160 5bcf72e234ef387b24ffb9221623eaf927a41f02 SHA1 31a589dbbde4597dc3df248c57b5213889c67423 SHA256 92d6c306fe13ead877997b8ff3007ffa601a1e7c96ca3ec2208f88884a95c791
 MD5 50057505c6cef15415ae8f8ca7378d82 metadata.xml 261
 RMD160 5bcf72e234ef387b24ffb9221623eaf927a41f02 metadata.xml 261
index f1c89db97be9d39b1bf5b2406cf1fef1a0908eca..2d94b4197f51cae5b74a882990b5baedaa9a9ae2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.5.ebuild,v 1.10 2007/04/20 18:54:47 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.9.5.ebuild,v 1.11 2007/04/21 10:12:00 cedk Exp $
 
 inherit eutils multilib toolchain-funcs
 
@@ -25,7 +25,7 @@ src_unpack() {
 
 src_compile() {
        MY_OPTS=""
-       if [[ ${CTARGET} = ${CHOST} ]]; then
+       if tc-is-cross-compiler; then
                if [[ "{LIBPCAP_PCAP}" == "linux" ]]; then
                        MY_OPTS="--with-pcap=linux"
                elif [[ "${LIBPCAP_PCAP}" == "bpf" ]]; then