From c8d82a7167cf03db3dd32bbdf90b1da92777e2f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Krier?= Date: Sat, 21 Apr 2007 10:12:00 +0000 Subject: [PATCH] net-libs/libpcap: Fix test cross-compile Package-Manager: portage-2.1.2.2 --- net-libs/libpcap/ChangeLog | 5 ++++- net-libs/libpcap/Manifest | 16 ++++++++-------- net-libs/libpcap/libpcap-0.9.5.ebuild | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog index ad976ef1b787..a1b7339cef75 100644 --- a/net-libs/libpcap/ChangeLog +++ b/net-libs/libpcap/ChangeLog @@ -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 libpcap-0.9.5.ebuild: + Fix test cross-compile 20 Apr 2007; Cedric Krier libpcap-0.9.5.ebuild: Remove is_crosscompile function diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest index 650bc64b3024..ec2150b2c604 100644 --- a/net-libs/libpcap/Manifest +++ b/net-libs/libpcap/Manifest @@ -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 diff --git a/net-libs/libpcap/libpcap-0.9.5.ebuild b/net-libs/libpcap/libpcap-0.9.5.ebuild index f1c89db97be9..2d94b4197f51 100644 --- a/net-libs/libpcap/libpcap-0.9.5.ebuild +++ b/net-libs/libpcap/libpcap-0.9.5.ebuild @@ -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 -- 2.26.2