aboutsummaryrefslogtreecommitdiffstats
path: root/games/liquidwar
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-03-11 06:10:03 +0800
committeredwin <edwin@FreeBSD.org>2007-03-11 06:10:03 +0800
commit5f841e27a33132c8a0085481230d7f6d5b309930 (patch)
treecd7fc98c8a39bcfabf5feec80ecc199e8181a8ff /games/liquidwar
parent8d758314509997523487b46315b681dba49bd257 (diff)
downloadfreebsd-ports-gnome-5f841e27a33132c8a0085481230d7f6d5b309930.tar.gz
freebsd-ports-gnome-5f841e27a33132c8a0085481230d7f6d5b309930.tar.zst
freebsd-ports-gnome-5f841e27a33132c8a0085481230d7f6d5b309930.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
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