diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-06-23 23:29:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-06-23 23:29:38 +0000 |
commit | 9d6df21ec2ac809f52a26aa9ddb4ecf227243f7c (patch) | |
tree | 1b614e2701ae93dd2fc71b346d6fb06c9815c433 /media-libs/svgalib | |
parent | QA - fix use invocation (Manifest recommit) (diff) | |
download | gentoo-2-9d6df21ec2ac809f52a26aa9ddb4ecf227243f7c.tar.gz gentoo-2-9d6df21ec2ac809f52a26aa9ddb4ecf227243f7c.tar.bz2 gentoo-2-9d6df21ec2ac809f52a26aa9ddb4ecf227243f7c.zip |
make sure we always use /usr/src/linux and we dont try to install the module with the normal install routine #54935
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.19.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/svgalib/svgalib-1.9.19.ebuild b/media-libs/svgalib/svgalib-1.9.19.ebuild index a651a32a2116..73150543ca99 100644 --- a/media-libs/svgalib/svgalib-1.9.19.ebuild +++ b/media-libs/svgalib/svgalib-1.9.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 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.19.ebuild,v 1.1 2004/06/23 02:56:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.19.ebuild,v 1.2 2004/06/23 23:29:38 vapier Exp $ inherit eutils flag-o-matic @@ -31,6 +31,7 @@ src_unpack() { # Get it to work with kernel 2.6 epatch ${FILESDIR}/${P}-linux2.6.patch + sed -i '/^KDIR/s:=.*:=/usr/src/linux:' ${S}/kernel/svgalib_helper/Makefile # Fix include bug #54198 epatch ${FILESDIR}/${PN}-1.9.18-utils-include.patch @@ -94,7 +95,8 @@ src_install() { dodir /etc/svgalib /usr/{include,lib,bin,share/man} - make TOPDIR=${D} OPTIMIZE="${CFLAGS}" \ + make \ + TOPDIR=${D} OPTIMIZE="${CFLAGS}" INSTALLMODULE="" \ install || die "Failed to install svgalib!" if ! use build && kernel_supports_modules then |