aboutsummaryrefslogtreecommitdiff
path: root/games/liquidwar
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-03-10 22:10:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-03-10 22:10:03 +0000
commit42d47dab55b1c1deac26da5eb58f889e4a5dd35d (patch)
tree05c1d6ce242dbcac595e31171a4562066b07c922 /games/liquidwar
parente35a369eba2e1316ba24158a0fde2a9ebd5d793a (diff)
downloadports-42d47dab55b1c1deac26da5eb58f889e4a5dd35d.tar.gz
ports-42d47dab55b1c1deac26da5eb58f889e4a5dd35d.zip
A class between bsd.python.mk and this ports Makefile occured:
bsd.python.mk sets PYTHON=/somepath/someprogram, while this ports MaKefile expects yes or no there. This patch changes the ports configure to not test for an "user"-set PYTHON variable. Submitted by: YAPHR
Notes
Notes: svn path=/head/; revision=187080
Diffstat (limited to 'games/liquidwar')
-rw-r--r--games/liquidwar/Makefile1
-rw-r--r--games/liquidwar/files/patch-configure24
2 files changed, 25 insertions, 0 deletions
diff --git a/games/liquidwar/Makefile b/games/liquidwar/Makefile
index 7510a63b8682..210a7cb06acb 100644
--- a/games/liquidwar/Makefile
+++ b/games/liquidwar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= liquidwar
PORTVERSION= 5.6.3
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://liquidwar.sunsite.dk/archive/ \
${MASTER_SITE_SAVANNAH} \
diff --git a/games/liquidwar/files/patch-configure b/games/liquidwar/files/patch-configure
new file mode 100644
index 000000000000..8609cc8d1548
--- /dev/null
+++ b/games/liquidwar/files/patch-configure
@@ -0,0 +1,24 @@
+--- configure.orig Sun Mar 11 09:05:03 2007
++++ configure Sun Mar 11 09:05:54 2007
+@@ -5345,9 +5345,9 @@
+ if test "${ac_cv_prog_PYTHON+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+- if test -n "$PYTHON"; then
+- ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
+-else
++# if test -n "$PYTHON"; then
++# ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
++#else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+@@ -5364,7 +5364,7 @@
+
+ test -z "$ac_cv_prog_PYTHON" && ac_cv_prog_PYTHON="no"
+ fi
+-fi
++#fi
+ PYTHON=$ac_cv_prog_PYTHON
+ if test -n "$PYTHON"; then
+ echo "$as_me:$LINENO: result: $PYTHON" >&5