diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2011-06-21 14:46:50 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2011-06-21 14:46:50 +0000 |
commit | bcae4e0663f8ca9b85ec52f4e6fb5f950217c3d5 (patch) | |
tree | 6b4b46092d4f9a4a84a25e8d89838767e81bc574 /games-roguelike | |
parent | Add dependency on virtual/fortran (diff) | |
download | historical-bcae4e0663f8ca9b85ec52f4e6fb5f950217c3d5.tar.gz historical-bcae4e0663f8ca9b85ec52f4e6fb5f950217c3d5.tar.bz2 historical-bcae4e0663f8ca9b85ec52f4e6fb5f950217c3d5.zip |
EAPI=2 - Fix underlink. Bug #372127
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/fargoal/ChangeLog | 7 | ||||
-rw-r--r-- | games-roguelike/fargoal/Manifest | 15 | ||||
-rw-r--r-- | games-roguelike/fargoal/fargoal-20040629.ebuild | 15 | ||||
-rw-r--r-- | games-roguelike/fargoal/files/fargoal-20040629-underlink.patch | 10 |
4 files changed, 35 insertions, 12 deletions
diff --git a/games-roguelike/fargoal/ChangeLog b/games-roguelike/fargoal/ChangeLog index ee90f67b9b3e..3159e26906bf 100644 --- a/games-roguelike/fargoal/ChangeLog +++ b/games-roguelike/fargoal/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-roguelike/fargoal # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.8 2011/03/26 17:26:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.9 2011/06/21 14:46:50 tupone Exp $ + + 21 Jun 2011; Tupone Alfredo <tupone@gentoo.org> fargoal-20040629.ebuild, + +files/fargoal-20040629-underlink.patch: + EAPI=2 + Fix underlink. Bug #372127 by Diego Elio Pettenò 26 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> fargoal-20040629.ebuild: Pin media-libs/allegro to old version. diff --git a/games-roguelike/fargoal/Manifest b/games-roguelike/fargoal/Manifest index 0181d4177299..de1338d1c377 100644 --- a/games-roguelike/fargoal/Manifest +++ b/games-roguelike/fargoal/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX fargoal-20040629-underlink.patch 294 RMD160 763645e84a7c0b09c2366dad3bf4ea349b8b3164 SHA1 721b4f4e7e7cf49ae6180d92ddd998996d5d59bd SHA256 6b4291da32a0cd0b64d383c8f48e49a256bca7de5b17c018f1d5775975db605b AUX gentoo-home-write.patch 5709 RMD160 b9148434aede84e67789f7fa1e11216d2e843bff SHA1 e7dc37a3658b3e3b30a1cfa404252b94343e4917 SHA256 5a7c800936bc74942f259f19c4d385192d23b3ce0b9291ea24ea7ff98b61c198 DIST fargoal20040629.zip 792975 RMD160 e6c4fe30d477085a6134fa0c55d8312db8ed23e5 SHA1 464280129e757516496fb74c5f5a62fc5c02ef21 SHA256 956398936873b74c3758f59f841d70df7834d2537f2bc9f0a91f9ba395e60899 -EBUILD fargoal-20040629.ebuild 1403 RMD160 5de7c1c947429c974d5ce592fe71b13b3927ebc5 SHA1 7a5d26a2a1962e963047e0eafbff361d2ec4f10b SHA256 3c640ea3823472abd69fc20ba1b8afc42620b545ea018e0d3c60dc9f36294d4a -MISC ChangeLog 1264 RMD160 95176a5840f429c24119a9f9a867f298c2c7c978 SHA1 44c0627143a7cdbab8ec6e92536bcd928234ffe6 SHA256 e27fad9be4ed3d424c5ab49fbb9c72fff1a4926e85a75fea23932b0fb0655a89 +EBUILD fargoal-20040629.ebuild 1381 RMD160 d407e9dae63caf96bee8ef8000e8cce5d2751d3d SHA1 8fd64825558f91d840be3b3548f7bbc3bd28044f SHA256 3bdfcd592bb7a13e7577a35c4e6deb182086d5450ade2c02da509c4c5c88d6fd +MISC ChangeLog 1441 RMD160 1952912ed8fdb16224c1ca72639b1e8a65c07e54 SHA1 f6dd00dbf5c01ececacf005e968a887c82185115 SHA256 cc1ffa5342c3933f1df6752fbaf3714e21f7ddbbe2b4feca9d844046cafadd89 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk4AruQACgkQIY77eQFFFC0FeQCgk0NW75ZM4YOVDwlv/7vgStXX +ti8AoIdBE1vr2x5rmGr/VOKtpZsoVxZg +=FS2S +-----END PGP SIGNATURE----- diff --git a/games-roguelike/fargoal/fargoal-20040629.ebuild b/games-roguelike/fargoal/fargoal-20040629.ebuild index 2edf01b12297..1cdccee4ca71 100644 --- a/games-roguelike/fargoal/fargoal-20040629.ebuild +++ b/games-roguelike/fargoal/fargoal-20040629.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.4 2011/03/26 17:26:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.5 2011/06/21 14:46:50 tupone Exp $ +EAPI=2 inherit eutils games @@ -17,11 +18,9 @@ RDEPEND="<media-libs/allegro-5" DEPEND="${RDEPEND} app-arch/unzip" -S=${WORKDIR}/${PN} +S="${WORKDIR}"/${PN}/src -src_unpack() { - unpack ${A} - cd "${S}/src" +src_prepare() { epatch "${FILESDIR}/gentoo-home-write.patch" sed -i \ -e "s/-O3/${CFLAGS}/" \ @@ -35,13 +34,11 @@ src_unpack() { sed -i \ -e "s:agreement.txt:${GAMES_DATADIR}/${PN}/&:" main.c \ || die "sed failed" -} - -src_compile() { - emake -C src || die "emake failed" + epatch "${FILESDIR}"/${P}-underlink.patch } src_install() { + cd .. # install as fargoal instead of sword since that may conflict with # other packages. newgamesbin sword fargoal || die "newgamesbin failed" diff --git a/games-roguelike/fargoal/files/fargoal-20040629-underlink.patch b/games-roguelike/fargoal/files/fargoal-20040629-underlink.patch new file mode 100644 index 000000000000..ffc38f584b6e --- /dev/null +++ b/games-roguelike/fargoal/files/fargoal-20040629-underlink.patch @@ -0,0 +1,10 @@ +--- Makefile.old 2011-06-21 16:29:54.921651946 +0200 ++++ Makefile 2011-06-21 16:30:21.145295079 +0200 +@@ -8,6 +8,6 @@ + LDLIBS := -lalleg + CFLAGS += -DMINGW + else +-LDLIBS := `allegro-config --libs` ++LDLIBS := `allegro-config --libs` -lm + CFLAGS += `allegro-config --cflags` -DLINUX + endif |