diff options
author | dholland <dholland> | 2012-06-18 04:55:38 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-06-18 04:55:38 +0000 |
commit | 811af8015f8c8472ed35bfc0cadd7f49964191bc (patch) | |
tree | 03fdba0a628e5658b70e1083a3f8c0c7dd079b3e /games/greed | |
parent | c47ce2e9377ba499705a23a738b20ede9bfcb5f0 (diff) | |
download | pkgsrc-811af8015f8c8472ed35bfc0cadd7f49964191bc.tar.gz |
Honor pkgsrc LDFLAGS so rpaths get set; should fix Linux build.
While here, avoid trying to arbitrarily delete the package's man page
from /usr/share/man prior to installing.
Diffstat (limited to 'games/greed')
-rw-r--r-- | games/greed/distinfo | 4 | ||||
-rw-r--r-- | games/greed/patches/patch-aa | 20 |
2 files changed, 19 insertions, 5 deletions
diff --git a/games/greed/distinfo b/games/greed/distinfo index bede825ac67..b821e8e7868 100644 --- a/games/greed/distinfo +++ b/games/greed/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2012/05/23 05:58:17 dholland Exp $ +$NetBSD: distinfo,v 1.6 2012/06/18 04:55:38 dholland Exp $ SHA1 (greed-3.4.tar.gz) = d70bd592378531d6726dfe00d3627e13b9dd9cce RMD160 (greed-3.4.tar.gz) = 13c432c030d333d0b6722263067dfab2fb2cf26e Size (greed-3.4.tar.gz) = 11463 bytes -SHA1 (patch-aa) = aaae80b12f8754991f769546e6a5f627ec1a0df8 +SHA1 (patch-aa) = 3702f1876a8146bea338728826945a14757eeed7 SHA1 (patch-ab) = a3a7720f3f48743fbd00c15a21a3e37368b9c5f1 diff --git a/games/greed/patches/patch-aa b/games/greed/patches/patch-aa index e329fb50033..15922b2b253 100644 --- a/games/greed/patches/patch-aa +++ b/games/greed/patches/patch-aa @@ -1,4 +1,9 @@ -$NetBSD: patch-aa,v 1.3 2010/01/29 23:08:08 joerg Exp $ +$NetBSD: patch-aa,v 1.4 2012/06/18 04:55:38 dholland Exp $ + +- configure paths for pkgsrc +- honor pkgsrc LDFLAGS +- DESTDIR support +- don't attempt to randomly blow things away on the system --- Makefile.orig 2002-07-30 22:04:21.000000000 +0000 +++ Makefile @@ -19,9 +24,18 @@ $NetBSD: patch-aa,v 1.3 2010/01/29 23:08:08 joerg Exp $ TERMLIB = -lncurses CC = gcc -@@ -39,7 +40,7 @@ greed.6: greed.xml +@@ -32,14 +33,14 @@ CC = gcc + #TERMLIB = scurses.lib + + greed: greed.c +- cc -DSCOREFILE=\"$(SFILE)\" -D$(SYSDEF) -DRELEASE=\"$(VERS)\" -o greed greed.c $(CFLAGS) $(TERMLIB) ++ cc -DSCOREFILE=\"$(SFILE)\" -D$(SYSDEF) -DRELEASE=\"$(VERS)\" -o greed greed.c $(CFLAGS) $(LDFLAGS) $(TERMLIB) + + greed.6: greed.xml + xmlto man greed.xml - install: greed.6 uninstall +-install: greed.6 uninstall ++install: greed.6 cp greed $(BIN) - cp greed.6 /usr/share/man/man6/greed.6 + cp greed.6 ${DESTDIR}$(PREFIX)/$(PKGMANDIR)/man6 |