summaryrefslogtreecommitdiffstats
path: root/games/netris/files/patch-Configure
diff options
context:
space:
mode:
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 0000000..7b61622
--- /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
OpenPOWER on IntegriCloud