summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-20 20:15:59 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-20 20:15:59 +0000
commit7c6d9aff35df534bb2880f932f3cc116896d4f3c (patch)
tree5b71954ddd54a18a5b3d99ea17d693d918b8b996 /sys-libs
parentadded configure logic for hardened-gcc (diff)
downloadhistorical-7c6d9aff35df534bb2880f932f3cc116896d4f3c.tar.gz
historical-7c6d9aff35df534bb2880f932f3cc116896d4f3c.tar.bz2
historical-7c6d9aff35df534bb2880f932f3cc116896d4f3c.zip
added configure logic for hardened-gcc
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/db/Manifest4
-rw-r--r--sys-libs/db/db-4.0.14-r2.ebuild13
2 files changed, 10 insertions, 7 deletions
diff --git a/sys-libs/db/Manifest b/sys-libs/db/Manifest
index 88baf27ccdd1..6ada3240eddc 100644
--- a/sys-libs/db/Manifest
+++ b/sys-libs/db/Manifest
@@ -4,13 +4,13 @@ MD5 940e292fc1990cada5941b841d9f8411 db-4.1.25_p1.ebuild 2751
MD5 296293d3d66b05dac9b047cc6c38ae45 db-3.2.9-r8.ebuild 3419
MD5 a5023bcd14650bfbb18ad9ec92783ed5 db-4.1.25_p1-r1.ebuild 1880
MD5 032eccd0fbd2d4d6d5aa2a81cee2196c db-1.85-r1.ebuild 1395
-MD5 fbd69657131618d923ca15f416899e09 db-4.0.14-r2.ebuild 2488
+MD5 56984ed9ec2178c5219c29a85a89ace4 db-4.0.14-r2.ebuild 2488
MD5 7432f94855b22041f010cc855d88fda7 db-3.2.9-r7.ebuild 4520
MD5 4544475bbc1cae88265ff4a054d988da db-3.2.9-r2.ebuild 3216
MD5 398f716eb0f59f30d68d8ba9093c69e8 db-4.1.25.ebuild 2245
MD5 e4786c48dbec363e72e17947c22666bc db-4.0.14.ebuild 2387
MD5 39653a8dc5cf4393fb4e1c615b22f738 db-3.2.9-r9.ebuild 3669
-MD5 6d5172a285d87155711c86b62aac68c1 ChangeLog 9150
+MD5 4342b13db9b451b6f8dca884c29d6a1d ChangeLog 9148
MD5 5c921197970cd970a8fbb4cad2d7df7b metadata.xml 1457
MD5 ce84141afa11b6d932844bc8b4684a92 db-4.0.14-r1.ebuild 2706
MD5 eb9b0f2c1d8440c6c49fc1d916c2dc0e files/db-4.0.14-fix-dep-link.patch 1119
diff --git a/sys-libs/db/db-4.0.14-r2.ebuild b/sys-libs/db/db-4.0.14-r2.ebuild
index 4a1fb088406f..cde5e4a339f8 100644
--- a/sys-libs/db/db-4.0.14-r2.ebuild
+++ b/sys-libs/db/db-4.0.14-r2.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/db/db-4.0.14-r2.ebuild,v 1.10 2003/09/17 21:59:15 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.0.14-r2.ebuild,v 1.11 2003/09/20 20:15:53 pappy Exp $
IUSE="tcltk java doc"
@@ -55,10 +55,10 @@ src_compile() {
fi
# http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
- #if has_version 'sys-devel/hardened-gcc' && [ "${CC}"="gcc" ]
- #then
- # CC="${CC} -yet_exec"
- #fi
+ has_version 'sys-devel/hardened-gcc' && \
+ einfo "hardened-gcc: activating ${CC} -yet_exec for configuring"
+
+ has_version 'sys-devel/hardened-gcc' && CC="${CC} -yet_exec"
../dist/configure \
--prefix=/usr \
@@ -72,6 +72,9 @@ src_compile() {
--with-uniquename \
${myconf} || die
+ has_version 'sys-devel/hardened-gcc' && find ${W} -name "Makefile" -type f -exec \
+ sed -i "s:-yet_exec::g" {} \;
+
# disable posix mutexes as they are not available in linuxthreads from
# the standard profile and they should be autodetected if available
#