diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-07 07:56:09 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-07 07:56:09 +0000 |
commit | 3e5687f14f9e5b27ee2728a7eb74517798093fc9 (patch) | |
tree | 23337156e453c934263a38779d42bce1096bca90 /media-plugins | |
parent | Add .signature support re: Bug 51842 (Manifest recommit) (diff) | |
download | gentoo-2-3e5687f14f9e5b27ee2728a7eb74517798093fc9.tar.gz gentoo-2-3e5687f14f9e5b27ee2728a7eb74517798093fc9.tar.bz2 gentoo-2-3e5687f14f9e5b27ee2728a7eb74517798093fc9.zip |
Added Makefile patch to honor user CFLAGS. Added ~sparc.
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/xmms-outpost/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch | 39 | ||||
-rw-r--r-- | media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild | 15 |
3 files changed, 55 insertions, 5 deletions
diff --git a/media-plugins/xmms-outpost/ChangeLog b/media-plugins/xmms-outpost/ChangeLog index 369424ebdf04..d50117b718e7 100644 --- a/media-plugins/xmms-outpost/ChangeLog +++ b/media-plugins/xmms-outpost/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/xmms-outpost # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/ChangeLog,v 1.6 2004/07/03 22:21:25 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/ChangeLog,v 1.7 2004/07/07 07:56:09 eradicator Exp $ + + 07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + xmms-outpost-0.15.ebuild, files/xmms-outpost-0.15-Makefile.patch: + Added Makefile patch to honor user CFLAGS. Added ~sparc. 04 Jul 2004; Carsten Lohrke <carlo@gentoo.org> xmms-outpost-0.15.ebuild: QA: need-kde after R/DEPEND diff --git a/media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch b/media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch new file mode 100644 index 000000000000..a8d55fb0e8d8 --- /dev/null +++ b/media-plugins/xmms-outpost/files/xmms-outpost-0.15-Makefile.patch @@ -0,0 +1,39 @@ +diff -Naur outpost.orig/Makefile outpost/Makefile +--- outpost.orig/Makefile 2003-09-21 06:39:03.000000000 -0700 ++++ outpost/Makefile 2004-07-07 00:42:29.180523430 -0700 +@@ -12,8 +12,8 @@ + CXX = g++ + LEX = flex + YACC = yacc +-CFLAGS = -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT +-CXXFLAGS = -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT ++MYCFLAGS = -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT $(CFLAGS) ++MYCXXFLAGS = -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT $(CXXFLAGS) + LEXFLAGS = + YACCFLAGS= -d + INCPATH = -I$(QTDIR)/mkspecs/default -I. `xmms-config --cflags` -I$(QTDIR)/include -I/$(KDEDIR)/include +@@ -72,19 +72,19 @@ + .SUFFIXES: .c .cpp .cc .cxx .C + + .cpp.o: +- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $< + + .cc.o: +- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $< + + .cxx.o: +- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $< + + .C.o: +- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(MYCXXFLAGS) $(INCPATH) -o $@ $< + + .c.o: +- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ++ $(CC) -c $(MYCFLAGS) $(INCPATH) -o $@ $< + + ####### Build rules + diff --git a/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild b/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild index b2ecc68d3cf5..3db45acd1fef 100644 --- a/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild +++ b/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild,v 1.6 2004/07/03 22:21:25 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-outpost/xmms-outpost-0.15.ebuild,v 1.7 2004/07/07 07:56:09 eradicator Exp $ -inherit kde +IUSE="" + +inherit kde eutils MY_P=${P/xmms-/} S=${WORKDIR}/outpost @@ -14,13 +16,18 @@ HOMEPAGE="http://axj.tuxipuxi.de/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~ppc ~amd64" -IUSE="" DEPEND="media-sound/xmms" need-kde 3 +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-Makefile.patch +} + src_compile() { - make + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die } src_install() { |