summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-07 01:03:20 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-07 01:03:20 +0000
commit6dadbc23f07c60966d8cfe74776ef04ff81e3acc (patch)
tree722cd18268427d551ddd27dd6106dcd0e9343a7d /media-plugins
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-6dadbc23f07c60966d8cfe74776ef04ff81e3acc.tar.gz
gentoo-2-6dadbc23f07c60966d8cfe74776ef04ff81e3acc.tar.bz2
gentoo-2-6dadbc23f07c60966d8cfe74776ef04ff81e3acc.zip
~amd64. -sparc
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-nsf/ChangeLog6
-rw-r--r--media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch27
-rw-r--r--media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild17
3 files changed, 46 insertions, 4 deletions
diff --git a/media-plugins/xmms-nsf/ChangeLog b/media-plugins/xmms-nsf/ChangeLog
index a3ffe1498443..419571c7f68b 100644
--- a/media-plugins/xmms-nsf/ChangeLog
+++ b/media-plugins/xmms-nsf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/xmms-nsf
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/ChangeLog,v 1.8 2004/06/24 23:44:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/ChangeLog,v 1.9 2004/07/07 01:03:20 eradicator Exp $
+
+ 06 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/xmms-nsf-0.0.3-PIC.patch:
+ ~amd64. -sparc
22 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-nsf-0.0.3.ebuild:
diff --git a/media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch b/media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch
new file mode 100644
index 000000000000..db5326f54297
--- /dev/null
+++ b/media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch
@@ -0,0 +1,27 @@
+diff -Naur xmms-nsf-0.0.3.orig/src/nes/Makefile.am xmms-nsf-0.0.3/src/nes/Makefile.am
+--- xmms-nsf-0.0.3.orig/src/nes/Makefile.am 2000-07-19 19:17:55.000000000 -0700
++++ xmms-nsf-0.0.3/src/nes/Makefile.am 2004-07-06 18:00:50.388728466 -0700
+@@ -21,3 +21,5 @@
+
+ EXTRA_DIST = license.txt COPYING
+ INCLUDES = @XMMS_CFLAGS@
++
++CFLAGS = -fPIC -DPIC @CFLAGS@
+diff -Naur xmms-nsf-0.0.3.orig/src/nes/device/Makefile.am xmms-nsf-0.0.3/src/nes/device/Makefile.am
+--- xmms-nsf-0.0.3.orig/src/nes/device/Makefile.am 2000-07-19 18:56:01.000000000 -0700
++++ xmms-nsf-0.0.3/src/nes/device/Makefile.am 2004-07-06 18:00:38.662674686 -0700
+@@ -19,4 +19,4 @@
+ sct_init.h \
+ sct_main.h
+
+-CFLAGS = -D_REENTRANT @CFLAGS@
++CFLAGS = -fPIC -DPIC -D_REENTRANT @CFLAGS@
+diff -Naur xmms-nsf-0.0.3.orig/src/xmms/Makefile.am xmms-nsf-0.0.3/src/xmms/Makefile.am
+--- xmms-nsf-0.0.3.orig/src/xmms/Makefile.am 2001-01-06 20:08:14.000000000 -0800
++++ xmms-nsf-0.0.3/src/xmms/Makefile.am 2004-07-06 18:01:05.425232876 -0700
+@@ -22,3 +22,5 @@
+
+ LIBS = @LIBS@ @XMMS_LIBS@
+ INCLUDES = @XMMS_CFLAGS@ @GTK_CFLAGS@
++
++CFLAGS = -fPIC -DPIC @CFLAGS@
diff --git a/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild b/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild
index fdbd00fceced..f8acb0124673 100644
--- a/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild
+++ b/media-plugins/xmms-nsf/xmms-nsf-0.0.3.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-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild,v 1.10 2004/06/24 23:44:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild,v 1.11 2004/07/07 01:03:20 eradicator Exp $
-inherit eutils
+inherit eutils gnuconfig libtool
IUSE=""
@@ -12,7 +12,8 @@ SRC_URI="http://optronic.sourceforge.net/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+#-sparc: 0.0.3: Plays, but not completely... misses notes
+KEYWORDS="x86 -sparc ~amd64"
DEPEND="media-sound/xmms
=x11-libs/gtk+-1.2*"
@@ -21,6 +22,16 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gcc3.patch
+ epatch ${FILESDIR}/${P}-PIC.patch
+
+ gnuconfig_update
+
+ export WANT_AUTOMAKE=1.4
+ export WANT_AUTOCONF=2.5
+ aclocal || die
+ automake || die
+ autoconf || die
+ elibtoolize
}
src_install() {