mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
553bbd3676
Reviewed by: maintainer
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
--- 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...
|
|
-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:
|
|
EXTRALIBS = $(IPV6_LDFLAGS) #-lnsl -lsocket
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
###########################################################################
|
|
## You shouldn't need to change anything past this. ##
|