diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-06 22:31:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-06 22:31:05 +0000 |
commit | 0482983bc0fc847a869024160d433bf823ccecd2 (patch) | |
tree | f7874748364d707c2c51be12dfa0a716765dfb79 /media-libs/svgalib | |
parent | -sparc due to undefined function in libavcodec. (diff) | |
download | historical-0482983bc0fc847a869024160d433bf823ccecd2.tar.gz historical-0482983bc0fc847a869024160d433bf823ccecd2.tar.bz2 historical-0482983bc0fc847a869024160d433bf823ccecd2.zip |
use kernel-mod eclass for module checking #55080
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r-- | media-libs/svgalib/Manifest | 8 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.19-r1.ebuild | 14 |
2 files changed, 9 insertions, 13 deletions
diff --git a/media-libs/svgalib/Manifest b/media-libs/svgalib/Manifest index 499b432e5d02..4593bc489c55 100644 --- a/media-libs/svgalib/Manifest +++ b/media-libs/svgalib/Manifest @@ -3,7 +3,7 @@ Hash: SHA1 MD5 a3ae0b86fb61856fed062a639cc186a1 ChangeLog 8680 MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 -MD5 1cd357e2780d2dd707001f46d7d045fe svgalib-1.9.19-r1.ebuild 4603 +MD5 318878e1a1aa965aa41282ba1f4810f2 svgalib-1.9.19-r1.ebuild 4528 MD5 c136e25a99e0681344511eef09d410e6 files/svgalib-1.9.19-dont-touch-ld.conf.patch 350 MD5 0877788ea40d3673a0c50d82d4560e0a files/svgalib-1.9.18-lrmi-gentoo-cflags.patch 269 MD5 627fcf9d82cd93cddcdef96a00248260 files/svgalib-1.9.18-utils-include.patch 413 @@ -14,7 +14,7 @@ MD5 91fa4baff3dfb211bcb57a068ed7495f files/svgalib-1.9.19-pic.patch 422 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBU3McHTu7gpaalycRAr8FAKDTfeU3KaAXYfsqnx6I9uPfm08iJwCgm2Gn -yH+KnbblyASBrzAhk3n/HBs= -=sDZa +iD8DBQFBZHI2HTu7gpaalycRAsmhAJ9d+THFz1upj4lkwebn42zvNJJ2EQCdE6Np +lPKrX9bP3pX/gpVPLMHm1Kw= +=EsDQ -----END PGP SIGNATURE----- diff --git a/media-libs/svgalib/svgalib-1.9.19-r1.ebuild b/media-libs/svgalib/svgalib-1.9.19-r1.ebuild index 5715f39c5ae3..72b5b9fc14c9 100644 --- a/media-libs/svgalib/svgalib-1.9.19-r1.ebuild +++ b/media-libs/svgalib/svgalib-1.9.19-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.19-r1.ebuild,v 1.3 2004/09/24 01:06:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.19-r1.ebuild,v 1.4 2004/10/06 22:31:05 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic kernel-mod DESCRIPTION="A library for running svga graphics on the console" HOMEPAGE="http://www.svgalib.org/" @@ -15,12 +15,8 @@ IUSE="build" DEPEND="virtual/libc" -kernel_supports_modules() { - grep '^CONFIG_MODULES=y$' ${ROOT}/usr/src/linux/.config >& /dev/null -} - pkg_setup() { - ! use build && kernel_supports_modules && check_KV + ! use build && kernel-mod_modules_supported && check_KV } src_unpack() { @@ -78,7 +74,7 @@ src_compile() { make OPTIMIZE="${CFLAGS} -I../gl" LDFLAGS='-L../sharedlib' \ demoprogs || die "Failed to build demoprogs!" - if ! use build && kernel_supports_modules + if ! use build && kernel-mod_modules_supported then cd ${S}/kernel/svgalib_helper if [[ `KV_to_int ${KV}` -lt `KV_to_int 2.6.6` ]] ; then @@ -104,7 +100,7 @@ src_install() { make \ TOPDIR=${D} OPTIMIZE="${CFLAGS}" INSTALLMODULE="" \ install || die "Failed to install svgalib!" - if ! use build && kernel_supports_modules + if ! use build && kernel-mod_modules_supported then cd ${S}/kernel/svgalib_helper if [[ `KV_to_int ${KV}` -lt `KV_to_int 2.6.6` ]] ; then |