summaryrefslogtreecommitdiff
path: root/games/wmtictactoe/files/patch-aa
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-27 01:04:35 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-27 01:04:35 +0000
commitbfdab59fe1e877ec510a01afe77611b5b31e62f9 (patch)
treea707fe29a8fbaed7f82da070583764a89ecff994 /games/wmtictactoe/files/patch-aa
parentuse ${PREFIX} and only require tcp_wrappers if it isn't part of the (diff)
Update to version 1.0
PR: 12402 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=19815
Diffstat (limited to '')
-rw-r--r--games/wmtictactoe/files/patch-aa20
1 files changed, 14 insertions, 6 deletions
diff --git a/games/wmtictactoe/files/patch-aa b/games/wmtictactoe/files/patch-aa
index 64085be503a2..634a6e7d67b4 100644
--- a/games/wmtictactoe/files/patch-aa
+++ b/games/wmtictactoe/files/patch-aa
@@ -1,7 +1,9 @@
---- Makefile.orig Mon Mar 29 09:41:40 1999
-+++ Makefile Sat May 1 21:48:22 1999
-@@ -1,9 +1,10 @@
+--- Makefile.orig Mon Mar 29 07:41:40 1999
++++ Makefile Sat Jun 26 18:00:10 1999
+@@ -1,14 +1,17 @@
-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -c -Wall
+INCLUDES = -I${X11BASE}/include
+LIBDIR = -L${X11BASE}/lib
LIBS = -lXpm -lXext -lX11
@@ -9,14 +11,20 @@
.c.o:
- cc -c -g -O2 -Wall $< -o $*.o
-+ cc -c -g -O2 -Wall $(INCLUDES) $< -o $*.o
++ ${CC} ${CFLAGS} ${INCLUDES} $< -o $*.o
all: wmtictactoe
-@@ -17,5 +18,4 @@
+ wmtictactoe: $(OBJS)
+- cc -o wmtictactoe $^ $(LIBDIR) $(LIBS)
++ ${CC} -o wmtictactoe $^ ${LIBDIR} ${LIBS}
+
+ clean:
+ for i in $(OBJS) ; do \
+@@ -17,5 +20,4 @@
rm wmtictactoe
install:
- /usr/bin/install -c -o 0 -g 0 -s -m 755 wmtictactoe /usr/local/bin/wmtictactoe
-
-+ /usr/bin/install -c -o 0 -g 0 -s -m 755 wmtictactoe ${PREFIX}/bin/wmtictactoe
++ @/usr/bin/install -c -o 0 -g 0 -s -m 755 wmtictactoe ${PREFIX}/bin/wmtictactoe