openbsd-ports/games/netris/patches/patch-aa
1999-10-02 19:19:00 +00:00

39 lines
830 B
Plaintext

--- Configure.orig Sun May 16 02:57:48 1999
+++ Configure Sat Oct 2 15:13:42 1999
@@ -159,12 +159,12 @@
# Automatically generated by ./Configure -- DO NOT EDIT!
#
-CC = -CC-
-COPT = -COPT-
+#CC = -CC-
+#COPT = -COPT-
CEXTRA = -CEXTRA-
LEXTRA = -LEXTRA-
LFLAGS = -LEXTRA- -LFLAGS-
-CFLAGS = $(CEXTRA) $(COPT)
+CFLAGS+= $(CEXTRA) $(COPT)
PROG = netris
HEADERS = netris.h
@@ -172,6 +172,8 @@
SRCS = -SRCS-
OBJS = -OBJS-
DISTFILES = -DISTFILES-
+DESTDIR= $(PREFIX)/bin
+MANDIR= $(PREFIX)/man
all: Makefile config.h proto.h $(PROG) sr
@@ -227,6 +229,10 @@
cleandir: clean
rm -f .depend Makefile config.h
+
+install:
+ install -o bin -g bin -s -m 755 $(PROG) $(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