diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-18 04:09:09 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-18 04:09:09 +0000 |
commit | 48d65be251bbe2e4bc2aacce3f168a584340e1ed (patch) | |
tree | 3b43b27e0c0a7fd488192cfefe28d2b958a6579e /media-libs | |
parent | old (diff) | |
download | gentoo-2-48d65be251bbe2e4bc2aacce3f168a584340e1ed.tar.gz gentoo-2-48d65be251bbe2e4bc2aacce3f168a584340e1ed.tar.bz2 gentoo-2-48d65be251bbe2e4bc2aacce3f168a584340e1ed.zip |
dont build kernel module with USE=build #38403
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/svgalib/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.17-r3.ebuild | 16 |
2 files changed, 16 insertions, 5 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog index 6ea07a6bd965..ce5856804a4d 100644 --- a/media-libs/svgalib/ChangeLog +++ b/media-libs/svgalib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/svgalib # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.23 2004/01/10 00:02:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.24 2004/01/18 04:09:09 vapier Exp $ + + 17 Jan 2004; Mike Frysinger <vapier@gentoo.org> + Add build to IUSE to control building of kernel module in stages #38403. 09 Jan 2004; Mike Frysinger <vapier@gentoo.org> svgalib-1.4.3-r4.ebuild svgalib-1.4.3-gcc3.patch svgalib-1.4.3-linux2.6.patch : diff --git a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild b/media-libs/svgalib/svgalib-1.9.17-r3.ebuild index 0b8d5227e56d..1dbee8af6d1e 100644 --- a/media-libs/svgalib/svgalib-1.9.17-r3.ebuild +++ b/media-libs/svgalib/svgalib-1.9.17-r3.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/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.8 2004/01/15 03:06:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.17-r3.ebuild,v 1.9 2004/01/18 04:09:09 vapier Exp $ inherit eutils @@ -11,11 +11,12 @@ SRC_URI="http://www.arava.co.il/matan/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="-* x86" +IUSE="build" DEPEND="virtual/glibc" pkg_setup() { - check_KV + use build || check_KV } src_unpack() { @@ -29,6 +30,11 @@ src_unpack() { # Get modversions.h include right if we have CONFIG_MODVERSIONS set. epatch ${FILESDIR}/${P}-modversions_h.patch + + # Disable kernel module support while building stages #38403 + if [ `use build` ] ; then + sed -i 's:installmodule ::' Makefile + fi } src_compile() { @@ -48,8 +54,10 @@ src_compile() { make OPTIMIZE="${CFLAFS}" LDFLAGS='-L ../sharedlib' \ -C threeDKit lib3dkit.a || die "Failed to build threeDKit!" - make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper \ - clean all || die "Failed to build kernel module!" + if [ ! `use build` ] ; then + make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper \ + clean all || die "Failed to build kernel module!" + fi make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs \ || die "Failed to build demoprogs!" |