summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-02-19 20:01:58 +0000
committerFabian Groffen <grobian@gentoo.org>2012-02-19 20:01:58 +0000
commite88248d2bdabac3e4b17d57e20778c07116d6677 (patch)
treeec6bf600d3570b88bffbb521fe092d3f788480f0 /net-libs/libpcap/libpcap-1.2.1.ebuild
parentVersion bump (#815145). Drop ocaml from RDEPEND (#394367). Thanks to Nick Heb... (diff)
downloadhistorical-e88248d2bdabac3e4b17d57e20778c07116d6677.tar.gz
historical-e88248d2bdabac3e4b17d57e20778c07116d6677.tar.bz2
historical-e88248d2bdabac3e4b17d57e20778c07116d6677.zip
Make sure we use -fPIC on sparc64-solaris targets, bug #396345
Package-Manager: portage-2.2.01.20239-prefix/cvs/Darwin i386
Diffstat (limited to 'net-libs/libpcap/libpcap-1.2.1.ebuild')
-rw-r--r--net-libs/libpcap/libpcap-1.2.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-libs/libpcap/libpcap-1.2.1.ebuild b/net-libs/libpcap/libpcap-1.2.1.ebuild
index 3b4cced5183f..748f01d0a3ed 100644
--- a/net-libs/libpcap/libpcap-1.2.1.ebuild
+++ b/net-libs/libpcap/libpcap-1.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-1.2.1.ebuild,v 1.1 2012/01/04 02:40:15 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-1.2.1.ebuild,v 1.2 2012/02/19 20:01:58 grobian Exp $
EAPI=4
inherit autotools eutils
@@ -25,6 +25,9 @@ DOCS=( CREDITS CHANGES VERSION TODO README{,.dag,.linux,.macosx,.septel} )
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch
+ # Prefix' Solaris uses GNU ld
+ sed -i -e 's/freebsd\*/freebsd*|solaris*/' \
+ -e 's/sparc64\*/sparc64*|sparcv9*/' aclocal.m4 || die
eautoreconf
}