diff options
author | dholland <dholland> | 2012-05-23 06:23:02 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-05-23 06:23:02 +0000 |
commit | 292d26ebea79f93e67ac06db08f3e4ad604e39ba (patch) | |
tree | 9ab928df41755bbad87e2ff5d75dc7beb14d7454 /games/powwow/patches | |
parent | 8eb17d8248c2e8ab14adf0511ebe92331ba1969f (diff) | |
download | pkgsrc-292d26ebea79f93e67ac06db08f3e4ad604e39ba.tar.gz |
Honor LDFLAGS; should fix Linux build.
Diffstat (limited to 'games/powwow/patches')
-rw-r--r-- | games/powwow/patches/patch-aa | 20 | ||||
-rw-r--r-- | games/powwow/patches/patch-ab | 9 |
2 files changed, 22 insertions, 7 deletions
diff --git a/games/powwow/patches/patch-aa b/games/powwow/patches/patch-aa index d1f6e6750f1..5f04cb1ca74 100644 --- a/games/powwow/patches/patch-aa +++ b/games/powwow/patches/patch-aa @@ -1,8 +1,20 @@ -$NetBSD: patch-aa,v 1.1 2002/02/13 18:43:39 jdolecek Exp $ +$NetBSD: patch-aa,v 1.2 2012/05/23 06:23:02 dholland Exp $ ---- Makefile.orig Sat Dec 5 00:17:38 1998 -+++ Makefile Wed Feb 13 15:56:45 2002 -@@ -61,8 +61,7 @@ +- don't overwrite pkgsrc LDFLAGS +- remove interactive stall during build + +--- Makefile.orig 1998-12-04 23:17:38.000000000 +0000 ++++ Makefile +@@ -42,7 +42,7 @@ CFLAGS=$(CDEFS) + CC=cc + + # Libraries: if VT100 is defined above, you don't need -ltermcap. +-LDFLAGS= -ltermcap ++LDFLAGS+= -ltermcap + + # TERM support + # term directory. where you have term's client.a and client.h hidden +@@ -61,8 +61,7 @@ echo: @echo "WARNING: if you are coming from a 1.0.x version," @echo "re-read Changelog and powwow.doc as many things have changed." @echo "In particular, syntax and effects of #prompt and #isprompt changed in 1.1.7" diff --git a/games/powwow/patches/patch-ab b/games/powwow/patches/patch-ab index ae0267ff913..a3b6f64633e 100644 --- a/games/powwow/patches/patch-ab +++ b/games/powwow/patches/patch-ab @@ -1,4 +1,7 @@ -$NetBSD: patch-ab,v 1.5 2005/12/19 15:45:01 joerg Exp $ +$NetBSD: patch-ab,v 1.6 2012/05/23 06:23:02 dholland Exp $ + +- support NetBSD, MacOS, DragonFly +- honor pkgsrc CFLAGS and LDFLAGS --- make_it.orig 2002-06-01 10:33:35.000000000 +0000 +++ make_it @@ -19,8 +22,8 @@ $NetBSD: patch-ab,v 1.5 2005/12/19 15:45:01 joerg Exp $ echo 'UNSUPPORTED OS!!! Trying with defaults.';; esac -echo "make" $* "CC='$CC' CDEFS='$CF' LDFLAGS='$LF' " -+echo "make" $* "CC='$CC' CDEFS='$CF $CFLAGS' LDFLAGS='$LF' " ++echo "make" $* "CC='$CC' CDEFS='$CF $CFLAGS' LDFLAGS='$LF $LDFLAGS' " -make $* CC="${CC}" CDEFS="${CF}" LDFLAGS="${LF}" -+make $* CC="${CC}" CDEFS="${CF} ${CFLAGS}" LDFLAGS="${LF}" ++make $* CC="${CC}" CDEFS="${CF} ${CFLAGS}" LDFLAGS="${LF} ${LDFLAGS}" |