diff options
Diffstat (limited to 'sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild')
-rw-r--r-- | sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild b/sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild index 45177a2a1c36..02daac293b3d 100644 --- a/sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild +++ b/sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild,v 1.3 2003/09/17 17:03:41 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.10-r1.ebuild,v 1.4 2003/09/23 15:28:48 azarah Exp $ # This ebuild needs to be merged "live". You can't simply make a package # of it and merge it later. -IUSE="bootstrap build" +IUSE="bootstrap build static" SV="1.4.3.10p1" SVREV="" @@ -48,6 +48,8 @@ src_unpack() { echo ">>> Unpacking rc-scripts-${SV}${SVREV}.tar.bz2" tar -jxf ${FILESDIR}/rc-scripts-${SV}${SVREV}.tar.bz2 || die + use static && export LDFLAGS="-static" + # Fix CFLAGS for sysvinit stuff cd ${S2} cp Makefile Makefile.orig @@ -102,7 +104,7 @@ src_compile() { cd ${S}/src einfo "Building utilities..." - make CC="${CC:-gcc}" LD="${CC:-gcc}" \ + make CC="${CC:-gcc}" LD="${CC:-gcc} ${LDFLAGS}" \ CFLAGS="${CFLAGS}" || die "problem compiling utilities" if [ -z "`use build`" ] @@ -111,7 +113,7 @@ src_compile() { cd ${S2} einfo "Building sysvinit..." emake CC="${CC:-gcc}" LD="${CC:-gcc}" \ - LDFLAGS="" || die "problem compiling sysvinit" + LDFLAGS="${LDFLAGS}" || die "problem compiling sysvinit" if [ -z "`use bootstrap`" ] then |