aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-13 20:57:08 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-13 20:57:08 +0000
commitca0037299ae697856a62ab9d757518caee204fa9 (patch)
treea1ef0ecace7e4f3fc1abf247167512beac077771
parented4a75e3ec8ef34a7b0cd9cc2e375b78002ecd4e (diff)
downloadports-ca0037299ae697856a62ab9d757518caee204fa9.tar.gz
ports-ca0037299ae697856a62ab9d757518caee204fa9.zip
- Fix build when CC is set to an absolute
PR: 121607 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (maintainer)
Notes
Notes: svn path=/head/; revision=209005
-rw-r--r--games/netris/files/patch-aa13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/netris/files/patch-aa b/games/netris/files/patch-aa
index 3b58aff7a858..7b61622199d3 100644
--- a/games/netris/files/patch-aa
+++ b/games/netris/files/patch-aa
@@ -1,5 +1,5 @@
---- Configure.orig Mon Dec 20 14:58:16 1999
-+++ Configure Mon Dec 20 15:00:24 1999
+--- Configure.orig 2008-03-11 16:27:51.000000000 +0000
++++ Configure 2008-03-11 16:31:27.000000000 +0000
@@ -85,7 +85,7 @@
echo "Checking for libraries"
echo 'main(){}' > test.c
@@ -9,6 +9,15 @@
if $CC $CFLAGS $LEXTRA test.c $lib > /dev/null 2>&1; then
LFLAGS="$lib"
fi
+@@ -204,7 +204,7 @@
+ sed -e "s/-LFLAGS-/$_LFLAGS/g" -e "s/-SRCS-/$SRCS/g" \
+ -e "s/-OBJS-/$OBJS/g" -e "s/-DISTFILES-/$DISTFILES/g" \
+ -e "s/-COPT-/$_COPT/g" -e "s/-CEXTRA-/$_CEXTRA/g" \
+- -e "s/-LEXTRA-/$_LEXTRA/g" -e "s/-CC-/$CC/g" \
++ -e "s/-LEXTRA-/$_LEXTRA/g" -e "s%-CC-%$CC%g" \
+ << "END" > Makefile
+ #
+ # Automatically generated by ./Configure -- DO NOT EDIT!
@@ -285,7 +285,7 @@
install: