diff options
author | miwi <miwi@FreeBSD.org> | 2008-03-14 04:57:08 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-03-14 04:57:08 +0800 |
commit | db78a9caf7e5657163b24eae8a38632718d4e53b (patch) | |
tree | 75b47638ecec20455c95992b1458bac96febf78e | |
parent | 2812cd7d69bd8f88180d3de8a14d88270e462c1c (diff) | |
download | freebsd-ports-gnome-db78a9caf7e5657163b24eae8a38632718d4e53b.tar.gz freebsd-ports-gnome-db78a9caf7e5657163b24eae8a38632718d4e53b.tar.zst freebsd-ports-gnome-db78a9caf7e5657163b24eae8a38632718d4e53b.zip |
- Fix build when CC is set to an absolute
PR: 121607
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (maintainer)
-rw-r--r-- | games/netris/files/patch-aa | 13 |
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: |