summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-27 21:29:47 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-27 21:29:47 +0000
commit3d667b1a53b511260675bb1d282a48c7f40bbe00 (patch)
treea20761a207fa301795aff04c5dd241d0786113b4 /sys-libs/libcap
parentadded hcc exclusion for PIC but leave propolice in place (diff)
downloadhistorical-3d667b1a53b511260675bb1d282a48c7f40bbe00.tar.gz
historical-3d667b1a53b511260675bb1d282a48c7f40bbe00.tar.bz2
historical-3d667b1a53b511260675bb1d282a48c7f40bbe00.zip
added hcc exclusion for PIC but leave propolice in place
Diffstat (limited to 'sys-libs/libcap')
-rw-r--r--sys-libs/libcap/Manifest4
-rw-r--r--sys-libs/libcap/libcap-1.10.ebuild6
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest
index 1289e5972616..498a8eb0a806 100644
--- a/sys-libs/libcap/Manifest
+++ b/sys-libs/libcap/Manifest
@@ -1,7 +1,7 @@
-MD5 9d8354075305e08d217fff418539db07 libcap-1.10.ebuild 1679
+MD5 47ebb38d39826da5038c8d4132a5ded3 libcap-1.10.ebuild 1676
MD5 b87c70138c800149046510d6a371a5ae libcap-1.10-r2.ebuild 1614
MD5 f48047d308b92702400fc3f9b4ffbd2b libcap-1.10-r1.ebuild 1604
-MD5 1909af42a4f0f45002f4e66487d6320c ChangeLog 1363
+MD5 dda33f8a09477d1bb091b14d8bff156f ChangeLog 1360
MD5 3aa7335821ba75c0994083995b0331f2 files/libcap-1.10-syscall.patch 1051
MD5 8f279ebf325d1b8efb6ad3c3a0d8cb5d files/libcap-1.10-python.patch 3353
MD5 f55c8f8c068940da50e21f4d4b840422 files/digest-libcap-1.10-r1 63
diff --git a/sys-libs/libcap/libcap-1.10.ebuild b/sys-libs/libcap/libcap-1.10.ebuild
index e8fc602bef8b..010c1279f759 100644
--- a/sys-libs/libcap/libcap-1.10.ebuild
+++ b/sys-libs/libcap/libcap-1.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10.ebuild,v 1.5 2003/09/08 02:38:54 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10.ebuild,v 1.6 2003/09/27 21:29:41 pappy Exp $
inherit base
@@ -36,6 +36,10 @@ src_compile() {
myflags="${myflags} PYTHON=1 PYTHONMODDIR=/usr/lib/python${PYTHONVER}/site-packages"
CFLAGS="${CFLAGS} -I/usr/include/python${PYTHONVER}"
fi
+
+ has_version 'sys-devel/hardened-gcc' && \
+ append-flags "-yet_exec -fstack-protector -Wl,$(gcc-config -L)/libgcc.a -Wl,/lib/libc.so.6"
+
emake COPTFLAG="${CFLAGS}" DEBUG="" ${myflags} || die
}