mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
ca0037299a
PR: 121607 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (maintainer)
30 lines
995 B
Plaintext
30 lines
995 B
Plaintext
--- 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
|