summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-06 13:43:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-06 13:43:50 +0000
commit2f928e25d7975d4304568cc724266d0b90536958 (patch)
tree167d48607373854618d369f85fc0612a0090e042 /net-libs/libpcap/libpcap-0.8.3-r1.ebuild
parentStable on sparc (diff)
downloadgentoo-2-2f928e25d7975d4304568cc724266d0b90536958.tar.gz
gentoo-2-2f928e25d7975d4304568cc724266d0b90536958.tar.bz2
gentoo-2-2f928e25d7975d4304568cc724266d0b90536958.zip
Check for BSD systems using USERLAND variable.
(Portage version: 2.0.51.21)
Diffstat (limited to 'net-libs/libpcap/libpcap-0.8.3-r1.ebuild')
-rw-r--r--net-libs/libpcap/libpcap-0.8.3-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-libs/libpcap/libpcap-0.8.3-r1.ebuild b/net-libs/libpcap/libpcap-0.8.3-r1.ebuild
index b513c2c8b5ab..35f2c35933e2 100644
--- a/net-libs/libpcap/libpcap-0.8.3-r1.ebuild
+++ b/net-libs/libpcap/libpcap-0.8.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.8.3-r1.ebuild,v 1.19 2005/05/06 13:00:50 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpcap/libpcap-0.8.3-r1.ebuild,v 1.20 2005/05/06 13:43:50 flameeyes Exp $
inherit eutils multilib toolchain-funcs
@@ -37,7 +37,8 @@ src_compile() {
src_install() {
einstall || die "make install failed"
- if use x86-fbsd ; then
+ # We need this to build pppd on G/FBSD systems
+ if [[ "${USERLAND}" == "BSD" ]]; then
insinto /usr/include
doins pcap-int.h || die "failed to install pcap-int.h"
fi