pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/powwow Honor LDFLAGS; should fix Linux build.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ebdf71a50768
branches: trunk
changeset: 604109:ebdf71a50768
user: dholland <dholland%pkgsrc.org@localhost>
date: Wed May 23 06:23:02 2012 +0000
description:
Honor LDFLAGS; should fix Linux build.
diffstat:
games/powwow/Makefile | 5 +++--
games/powwow/distinfo | 6 +++---
games/powwow/patches/patch-aa | 20 ++++++++++++++++----
games/powwow/patches/patch-ab | 9 ++++++---
4 files changed, 28 insertions(+), 12 deletions(-)
diffs (87 lines):
diff -r 5925f18b6ee5 -r ebdf71a50768 games/powwow/Makefile
--- a/games/powwow/Makefile Wed May 23 06:16:00 2012 +0000
+++ b/games/powwow/Makefile Wed May 23 06:23:02 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/04/15 22:01:01 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2012/05/23 06:23:02 dholland Exp $
DISTNAME= powwow-1.2.5
PKGREVISION= 1
@@ -17,7 +17,8 @@
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
do-build:
- cd ${WRKSRC} && POWWOW_DIR=${POWWOW_DIR} CFLAGS=${CFLAGS:Q} ./make_it
+ cd ${WRKSRC} && POWWOW_DIR=${POWWOW_DIR} CFLAGS=${CFLAGS:Q} \
+ LDFLAGS=${LDFLAGS:Q} ./make_it
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/powwow ${DESTDIR}${PREFIX}/bin
diff -r 5925f18b6ee5 -r ebdf71a50768 games/powwow/distinfo
--- a/games/powwow/distinfo Wed May 23 06:16:00 2012 +0000
+++ b/games/powwow/distinfo Wed May 23 06:23:02 2012 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.7 2011/10/03 04:37:05 dholland Exp $
+$NetBSD: distinfo,v 1.8 2012/05/23 06:23:02 dholland Exp $
SHA1 (powwow-1.2.5.tar.gz) = 505bf2f269011970e450b2877646e6ff037ba992
RMD160 (powwow-1.2.5.tar.gz) = f48363c42863a71384f329c2701712f911dd46f4
Size (powwow-1.2.5.tar.gz) = 169159 bytes
-SHA1 (patch-aa) = c8359ddb3770aa6520dd50638f4dc6b183943566
-SHA1 (patch-ab) = 0ed2c51416e2fde2aa3e2813dea742c90c7ff855
+SHA1 (patch-aa) = c271348e756f3718c5238fa7d72849dcd39a4a8d
+SHA1 (patch-ab) = d5e96d03bb66d661bdac057c0b8ddd19ecdf6fec
SHA1 (patch-ac) = 706a8bb8a9e58a26542248facf2859ba311c5b25
SHA1 (patch-ad) = b6457008ca461255d2d3e60ed401b10bb0c4fdd5
SHA1 (patch-ae) = 95df9c6c03a9fb48c6b133f8348faf7f8f57a957
diff -r 5925f18b6ee5 -r ebdf71a50768 games/powwow/patches/patch-aa
--- a/games/powwow/patches/patch-aa Wed May 23 06:16:00 2012 +0000
+++ b/games/powwow/patches/patch-aa Wed May 23 06:23:02 2012 +0000
@@ -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 $
+
+- don't overwrite pkgsrc LDFLAGS
+- remove interactive stall during build
---- Makefile.orig Sat Dec 5 00:17:38 1998
-+++ Makefile Wed Feb 13 15:56:45 2002
-@@ -61,8 +61,7 @@
+--- 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 -r 5925f18b6ee5 -r ebdf71a50768 games/powwow/patches/patch-ab
--- a/games/powwow/patches/patch-ab Wed May 23 06:16:00 2012 +0000
+++ b/games/powwow/patches/patch-ab Wed May 23 06:23:02 2012 +0000
@@ -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 @@
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}"
Home |
Main Index |
Thread Index |
Old Index