diff options
Diffstat (limited to 'sys-fs/devfsd/devfsd-1.3.25-r4.ebuild')
-rw-r--r-- | sys-fs/devfsd/devfsd-1.3.25-r4.ebuild | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/sys-fs/devfsd/devfsd-1.3.25-r4.ebuild b/sys-fs/devfsd/devfsd-1.3.25-r4.ebuild index c5f74017ceca..bace95e7ddf3 100644 --- a/sys-fs/devfsd/devfsd-1.3.25-r4.ebuild +++ b/sys-fs/devfsd/devfsd-1.3.25-r4.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-fs/devfsd/devfsd-1.3.25-r4.ebuild,v 1.2 2003/09/18 00:52:00 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/devfsd/devfsd-1.3.25-r4.ebuild,v 1.3 2003/10/09 19:51:36 pappy Exp $ IUSE="" @@ -20,8 +20,21 @@ DEPEND="virtual/glibc" src_unpack() { unpack ${A} - # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml - has_version 'sys-devel/hardened-gcc' && append-flags '-yet_exec' + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode + if [ "${ARCH}" != "hppa" ] && [ "${ARCH}" != "hppa64" ] && has_version "sys-devel/hardened-gcc" + then + append-flags "-yet_exec -fstack-protector" + fi + + if [ "${ARCH}" == "hppa" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi + + if [ "${ARCH}" == "hppa64" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi cd ${S} epatch ${FILESDIR}/${P}-kernel-2.5.patch.bz2 |