summaryrefslogtreecommitdiff
path: root/games/netris/files/patch-Configure
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 19:39:50 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 19:39:50 +0000
commitd9616e5a763d1ab83ebac479e3b2222db5c3f87f (patch)
treea08c8f6002f7c1660aaa80e0f9cf61cd9d71151c /games/netris/files/patch-Configure
parent- Update to 1.9, announce message: (diff)
Rename all 10,000 games/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363239
Diffstat (limited to 'games/netris/files/patch-Configure')
-rw-r--r--games/netris/files/patch-Configure29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/netris/files/patch-Configure b/games/netris/files/patch-Configure
new file mode 100644
index 000000000000..7b61622199d3
--- /dev/null
+++ b/games/netris/files/patch-Configure
@@ -0,0 +1,29 @@
+--- 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
+ LFLAGS=""
+-for lib in -lcurses -lncurses; do
++for lib in -lncurses -lcurses; do
+ 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:
+ $(INSTALL) -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
+- $(INSTALL) -o bin -g bin -s -m 755 sr $(DESTDIR)
++ $(INSTALL) -o bin -g bin -s -m 755 sr $(DESTDIR)/sample-robot
+
+ ##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
+ END