summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-18 12:51:22 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-18 12:51:22 +0000
commita37d3774cb8e7b56326f3ddc1f95c24f7acb5493 (patch)
tree071ddbaa2b09b251984686a1861b4ceb14b45b37 /games-emulation/psemu-cdr
parentVersion bump. (diff)
downloadhistorical-a37d3774cb8e7b56326f3ddc1f95c24f7acb5493.tar.gz
historical-a37d3774cb8e7b56326f3ddc1f95c24f7acb5493.tar.bz2
historical-a37d3774cb8e7b56326f3ddc1f95c24f7acb5493.zip
Respect LDFLAGS. Bug #333657
Package-Manager: portage-2.1.9.14/cvs/Linux i686
Diffstat (limited to 'games-emulation/psemu-cdr')
-rw-r--r--games-emulation/psemu-cdr/ChangeLog8
-rw-r--r--games-emulation/psemu-cdr/Manifest5
-rw-r--r--games-emulation/psemu-cdr/files/psemu-cdr-1.8-ldflags.patch23
-rw-r--r--games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild12
4 files changed, 37 insertions, 11 deletions
diff --git a/games-emulation/psemu-cdr/ChangeLog b/games-emulation/psemu-cdr/ChangeLog
index abb4a51bd570..3eeef44def5b 100644
--- a/games-emulation/psemu-cdr/ChangeLog
+++ b/games-emulation/psemu-cdr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/psemu-cdr
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/ChangeLog,v 1.11 2007/02/21 23:29:47 peper Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/ChangeLog,v 1.12 2010/10/18 12:51:22 tupone Exp $
+
+ 18 Oct 2010; Tupone Alfredo <tupone@gentoo.org> psemu-cdr-1.8.ebuild,
+ +files/psemu-cdr-1.8-ldflags.patch:
+ Respect LDFLAGS. Bug #333657 by flameeyes@gentoo.org
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-emulation/psemu-cdr/Manifest b/games-emulation/psemu-cdr/Manifest
index 71c1fc3c4975..b54e3f4cb9f7 100644
--- a/games-emulation/psemu-cdr/Manifest
+++ b/games-emulation/psemu-cdr/Manifest
@@ -1,5 +1,6 @@
AUX 1.8-makefile-cflags.patch 317 RMD160 219e25957fdc67f48023c91f78e111c77bcf35f8 SHA1 1b6123817f6b4caf6dbdd66b5ca4ec37fd7f7d80 SHA256 4bb643c1d4f01fdc48c761884c0da9526813ba6cad072b82b3c8fa85166cf077
+AUX psemu-cdr-1.8-ldflags.patch 731 RMD160 aa8a6ba80d60641679ac7ba48c59b8374cf5870c SHA1 18e8934c2a9287922c11cd3358df2f4515cd8d22 SHA256 49c97d5a098f11d9477f5c85d96aaa1b8a50f70f3b5c0564ef8830ae48b3af4b
DIST cdr-1.8.tar.gz 44115 RMD160 a47cb2fc43b939f5d44ee3004527e543a14795fe SHA1 5b0f0e0a52ef7c6b1453e8815cb28cc963fa48dd SHA256 9cb9c74baf5238edff3ce6f569603523c76666c6f646539e0e3f31f85fa8cc10
-EBUILD psemu-cdr-1.8.ebuild 1074 RMD160 9536ab3c16ed340d6a61a64fbdc1cb1fcc2f0a6f SHA1 fe1e4504e817e102a059693094d4d119bee40ef7 SHA256 e28593ea71b0a21d34970057d95fa853da216a4099e86f0f2d4d0f96e2804d24
-MISC ChangeLog 1809 RMD160 15153ce086f7424f8ed3b86cf87d665f8062df9d SHA1 3dda88a4c7bf575d5382e64b6345977087f2037b SHA256 d5be4e682c213e1931959740b18a424e31e5a6aed5929a45d72e8d206add7edb
+EBUILD psemu-cdr-1.8.ebuild 1028 RMD160 f70427a055f2a5d65de43bc70e99f3b90a8c0e61 SHA1 2c821215b336f2289a1373faf2f9e75b609f2c94 SHA256 7817ab6b65008d8c729f272a8571bd80618531ed5d19de2401a7a9e8de58ff4f
+MISC ChangeLog 1976 RMD160 99882b0414f1b4fc699789de0ee238f7d0c494b1 SHA1 ed58a9a0cedc6704b763d0f96b0d16efcf95fc3c SHA256 d6e46c5cf8e5fa09f4fcf861560f024455ce8893d9fcd831f11c1261aa0468a0
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-emulation/psemu-cdr/files/psemu-cdr-1.8-ldflags.patch b/games-emulation/psemu-cdr/files/psemu-cdr-1.8-ldflags.patch
new file mode 100644
index 000000000000..eedabb08857c
--- /dev/null
+++ b/games-emulation/psemu-cdr/files/psemu-cdr-1.8-ldflags.patch
@@ -0,0 +1,23 @@
+--- src/Makefile.old 2010-10-18 14:44:19.000000000 +0200
++++ src/Makefile 2010-10-18 14:45:05.000000000 +0200
+@@ -34,7 +34,7 @@
+
+ plugin: $(OBJECTS)
+ rm -f $(PLUGIN)
+- $(CC) -shared -Wl,-soname,$(PLUGIN) $(CFLAGS) $(OBJECTS) -o $(PLUGIN) $(LIBS)
++ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(PLUGIN) $(CFLAGS) $(OBJECTS) -o $(PLUGIN) $(LIBS)
+
+
+ cfg:
+--- src/cfg-gtk2/Makefile.old 2010-10-18 14:45:38.000000000 +0200
++++ src/cfg-gtk2/Makefile 2010-10-18 14:46:06.000000000 +0200
+@@ -12,8 +12,7 @@
+
+ cfg: ${CFG_OBJECTS}
+ ${RM} ${CFG}
+- ${CC} `pkg-config --cflags --libs gtk+-2.0` ${CFLAGS} ${CFG_OBJECTS} -o ${CFG} ${LIBS}
+- ${STRIP} ${CFG}
++ ${CC} $(LDFLAGS) ${CFLAGS} ${CFG_OBJECTS} -o ${CFG} ${LIBS}
+
+ clean:
+ ${RM} *.o ${CFG}
diff --git a/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild b/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
index 1c4540c393b5..08f77157937c 100644
--- a/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
+++ b/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild,v 1.9 2007/04/09 15:56:39 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild,v 1.10 2010/10/18 12:51:22 tupone Exp $
+EAPI=2
inherit eutils games
@@ -19,11 +20,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/${PV}-makefile-cflags.patch
- sed -i '/STRIP/d' src/{,cfg-gtk2/}Makefile || die "sed failed"
-}
+PATCHES=( "${FILESDIR}"/${PV}-makefile-cflags.patch
+ "${FILESDIR}"/${P}-ldflags.patch )
src_compile() {
emake -C src OPTFLAGS="${CFLAGS}" GUI="gtk+2" || die "emake failed"