1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/xtris/files/patch-aa

39 lines
1.2 KiB
Plaintext
Raw Normal View History

2000-01-24 01:35:42 +00:00
--- Makefile.orig Mon Jan 17 13:33:15 2000
+++ Makefile Mon Jan 17 13:36:11 2000
@@ -8,27 +8,27 @@
###################
# change this to your favorite ANSI C compiler
-CC = gcc
+CC? = gcc
# change this to the directory where you want the xtris binaries installed
-BINDIR = /usr/local/bin
+BINDIR = ${PREFIX}/bin
# change this to the directory where you want the xtris manpages installed
-MANDIR = /usr/local/man
+MANDIR = ${PREFIX}/man
# change according to taste and local custom...
2000-01-24 01:35:42 +00:00
-CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__ $(IPV6_CFLAGS) $(XCFLAGS)
+CFLAGS += -D__USE_FIXED_PROTOTYPES__ $(IPV6_CFLAGS) $(XCFLAGS)
# on Solaris and similar systems, you'll need to uncomment this:
2000-01-24 01:35:42 +00:00
EXTRALIBS = $(IPV6_LDFLAGS) #-lnsl -lsocket
2000-01-24 01:35:42 +00:00
# specify X11 cflags and libdir if your system needs it
-XCFLAGS = #-I/usr/X11/include
-XLIBDIR = #-L/usr/X11/lib
+XCFLAGS = -I${PREFIX}/include
+XLIBDIR = -L${PREFIX}/lib
2000-01-24 01:35:42 +00:00
# IPv6 Settings
-IPV6_CFLAGS = #-DINET6 #-I/usr/inet6/include
-IPV6_LDFLAGS = #-L/usr/local/v6/lib -linet6
+#IPV6_CFLAGS = #-DINET6 #-I/usr/inet6/include
+#IPV6_LDFLAGS = #-L/usr/local/v6/lib -linet6
###########################################################################
2000-01-24 01:35:42 +00:00
## You shouldn't need to change anything past this. ##