summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-09-06 22:41:48 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-09-06 22:41:48 +0000
commit56f1ae4d1a6d0283f411ab1b3b1418ac7bcdde00 (patch)
treeba83f81635fe163746d7b1eb1ca1f0f74fdd6300 /sys-libs/db/db-4.0.14-r2.ebuild
parentadded hardened-gcc excludes (diff)
downloadhistorical-56f1ae4d1a6d0283f411ab1b3b1418ac7bcdde00.tar.gz
historical-56f1ae4d1a6d0283f411ab1b3b1418ac7bcdde00.tar.bz2
historical-56f1ae4d1a6d0283f411ab1b3b1418ac7bcdde00.zip
added hardened-gcc excludes
Diffstat (limited to 'sys-libs/db/db-4.0.14-r2.ebuild')
-rw-r--r--sys-libs/db/db-4.0.14-r2.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys-libs/db/db-4.0.14-r2.ebuild b/sys-libs/db/db-4.0.14-r2.ebuild
index f972bef3336d..8bc00dfc63cf 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.3 2003/09/06 17:55:23 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.0.14-r2.ebuild,v 1.4 2003/09/06 22:41:42 pappy Exp $
IUSE="tcltk java doc"
@@ -45,14 +45,10 @@ src_compile() {
export JAVAC=`basename ${JAVAC}`
fi
- # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
- if has_version 'sys-devel/hardened-gcc' && [ ${CC}="gcc" ] ; then
- einfo "if you get errors that the blackdown jar cannot be found"
- einfo "do not forget to chpax -pems the jar and java binaries"
- einfo "to prevent the PaX kernel from killing the binary"
- CFLAGS="-yet_exec ${CFLAGS}"
- sleep 4s
- fi
+ # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
+ if has_version 'sys-devel/hardened-gcc' && [ "${CC}"="gcc" ]; then
+ CFLAGS="-yet_exec ${CFLAGS}"
+ fi
../dist/configure \
--prefix=/usr \