summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-05-09 13:04:10 +0000
committerJeroen Roovers <jer@gentoo.org>2013-05-09 13:04:10 +0000
commitea893a9aea0ed4a07975ccc4ea5a4887a401db07 (patch)
tree12dfa56fe287d96893d8f65e47ef98596ed17653 /net-libs/libpcap
parentEAPI 5. Version bump to 3.7, depend on at least Java 1.5. Fixes bug #458264. (diff)
downloadgentoo-2-ea893a9aea0ed4a07975ccc4ea5a4887a401db07.tar.gz
gentoo-2-ea893a9aea0ed4a07975ccc4ea5a4887a401db07.tar.bz2
gentoo-2-ea893a9aea0ed4a07975ccc4ea5a4887a401db07.zip
Do not install libpcap.a when USE=-static-libs (readd the command that "achieved" this in 1.3.0 (bug #469146 by Alphat-PC).
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r--net-libs/libpcap/ChangeLog6
-rw-r--r--net-libs/libpcap/libpcap-1.4.0.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/net-libs/libpcap/ChangeLog b/net-libs/libpcap/ChangeLog
index c6237be4c631..0e5de70fa436 100644
--- a/net-libs/libpcap/ChangeLog
+++ b/net-libs/libpcap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libpcap
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.183 2013/05/09 03:29:15 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/ChangeLog,v 1.184 2013/05/09 13:04:10 jer Exp $
+
+ 09 May 2013; Jeroen Roovers <jer@gentoo.org> libpcap-1.4.0.ebuild:
+ Do not install libpcap.a when USE=-static-libs (readd the command that
+ "achieved" this in 1.3.0 (bug #469146 by Alphat-PC).
09 May 2013; Jeroen Roovers <jer@gentoo.org>
-files/libpcap-1.1-cross-linux.patch,
diff --git a/net-libs/libpcap/libpcap-1.4.0.ebuild b/net-libs/libpcap/libpcap-1.4.0.ebuild
index f8e78010a7c6..931911937a72 100644
--- a/net-libs/libpcap/libpcap-1.4.0.ebuild
+++ b/net-libs/libpcap/libpcap-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-1.4.0.ebuild,v 1.1 2013/05/09 03:17:32 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-1.4.0.ebuild,v 1.2 2013/05/09 13:04:10 jer Exp $
EAPI=5
inherit autotools eutils
@@ -53,6 +53,9 @@ src_install() {
default
# remove static libraries (--disable-static does not work)
+ if ! use static-libs; then
+ find "${ED}" -name '*.a' -exec rm {} + || die
+ fi
prune_libtool_files
# We need this to build pppd on G/FBSD systems