1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/xtris/files/patch-aa
Chris Piazza d0bd856fc8 Respect CC and CFLAGS
PR:		13851
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
1999-09-30 03:42:43 +00:00

31 lines
878 B
Plaintext

--- Makefile.orig Sun Dec 14 20:43:35 1997
+++ Makefile Sun Aug 29 20:28:11 1999
@@ -8,22 +8,22 @@
###################
# 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...
-CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__
+CFLAGS += -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include
# on Solaris and similar systems, you'll need to uncomment this:
# EXTRALIBS = -lnsl -lsocket
# specify X11 libdir if your system needs it
-# XLIBDIR = -L/usr/X11/lib
+XLIBDIR = -L${PREFIX}/lib
###########################################################################