summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-07 09:33:42 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-07 09:33:42 +0000
commit120a4cec991d81fd827a334fe441f044a747f103 (patch)
tree61deda48a19285e79f2f4790f874b17f26ac4240 /media-libs/svgalib
parentStable onppc. (diff)
downloadhistorical-120a4cec991d81fd827a334fe441f044a747f103.tar.gz
historical-120a4cec991d81fd827a334fe441f044a747f103.tar.bz2
historical-120a4cec991d81fd827a334fe441f044a747f103.zip
Add a local USE flag no-helper to allow people to use svgalib on non-x86 arches w/out the helper module.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r--media-libs/svgalib/ChangeLog6
-rw-r--r--media-libs/svgalib/Manifest4
-rw-r--r--media-libs/svgalib/svgalib-1.9.21.ebuild10
3 files changed, 12 insertions, 8 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog
index 5a0c3be8e59c..13925f8c457a 100644
--- a/media-libs/svgalib/ChangeLog
+++ b/media-libs/svgalib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/svgalib
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.58 2005/05/07 08:13:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.59 2005/05/07 09:33:42 vapier Exp $
+
+ 07 May 2005; Mike Frysinger <vapier@gentoo.org> svgalib-1.9.21.ebuild:
+ Add a local USE flag no-helper to allow people to use svgalib on non-x86
+ arches w/out the helper module.
07 May 2005; Mike Frysinger <vapier@gentoo.org>
+files/svgalib.udev.perms.d, +files/svgalib.udev.rules.d,
diff --git a/media-libs/svgalib/Manifest b/media-libs/svgalib/Manifest
index b02594ffd0bb..b3877880fa98 100644
--- a/media-libs/svgalib/Manifest
+++ b/media-libs/svgalib/Manifest
@@ -1,7 +1,7 @@
-MD5 a9c3e4f483e4455a5e55c7d77b7087bd ChangeLog 10604
+MD5 32334956512dfc505949d1f8b6919f29 ChangeLog 10787
MD5 c9619b54463a0330aa164eb8108eaa8e svgalib-1.9.19-r3.ebuild 5480
MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
-MD5 3a5c8360fbcdcdeb188142f7b9244e59 svgalib-1.9.21.ebuild 4132
+MD5 9be051a3113caa4296cc400f08ac428f svgalib-1.9.21.ebuild 4218
MD5 c136e25a99e0681344511eef09d410e6 files/svgalib-1.9.19-dont-touch-ld.conf.patch 350
MD5 1c4684bfc1f4a5ff9daf7cbf5da699b1 files/svgalib-1.9.19-pci-get-class.patch 458
MD5 909fa2160bfb4ca66f2f73400a711431 files/svgalib-1.9.19-devfs.patch 440
diff --git a/media-libs/svgalib/svgalib-1.9.21.ebuild b/media-libs/svgalib/svgalib-1.9.21.ebuild
index bbb1336661ee..6064729cf720 100644
--- a/media-libs/svgalib/svgalib-1.9.21.ebuild
+++ b/media-libs/svgalib/svgalib-1.9.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.21.ebuild,v 1.5 2005/05/07 08:13:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.21.ebuild,v 1.6 2005/05/07 09:33:42 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs linux-mod
@@ -11,7 +11,7 @@ SRC_URI="http://www.arava.co.il/matan/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="-* ~x86"
-IUSE="build"
+IUSE="build no-helper"
DEPEND=""
@@ -72,7 +72,7 @@ src_compile() {
make OPTIMIZE="${CFLAGS} -I../gl" LDFLAGS='-L../sharedlib' \
demoprogs || die "Failed to build demoprogs!"
- use build || linux-mod_src_compile
+ ! use build && ! use no-helper && linux-mod_src_compile
}
src_install() {
@@ -83,7 +83,7 @@ src_install() {
make \
TOPDIR="${D}" OPTIMIZE="${CFLAGS}" INSTALLMODULE="" \
install || die "Failed to install svgalib!"
- use build || linux-mod_src_install
+ ! use build && ! use no-helper && linux-mod_src_install
insinto /usr/include
doins gl/vgagl.h
@@ -131,7 +131,7 @@ src_install() {
}
pkg_postinst() {
- linux-mod_pkg_postinst
+ ! use build && ! use no-helper && linux-mod_pkg_postinst
[[ ${ROOT} != "/" ]] && return 0
if [[ -e /dev/.devfsd ]] ; then