forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
46 lines
1.3 KiB
Text
46 lines
1.3 KiB
Text
--- Makefile.orig 2014-06-09 12:38:51.784239761 -0700
|
|
+++ Makefile 2014-06-09 12:43:05.345562324 -0700
|
|
@@ -12,10 +12,8 @@
|
|
###
|
|
|
|
# destination directory for final executables
|
|
-DESTDIR = /secureplace/bin
|
|
|
|
# destination for man pages
|
|
-MANDIR = /usr/man
|
|
|
|
# system utilities
|
|
LEX = lex
|
|
@@ -32,11 +30,11 @@
|
|
#SHELL = /bin/bash # For the GNU fanatics
|
|
|
|
# you can use ANSI C if you like, but K&R is equally fine.
|
|
-CC = cc # common
|
|
+#CC = cc # common
|
|
#CC = gcc # also common
|
|
#CC = /usr/ccs/bin/cc # Pyramid DC/OSx (SVR4)
|
|
|
|
-CFLAGS = -O # common
|
|
+#CFLAGS = -O # common
|
|
#CFLAGS = -g # common
|
|
#CFLAGS = -g # debugging
|
|
#CFLAGS = -O -cckr # SGI
|
|
@@ -60,7 +58,8 @@
|
|
#CPP = /lib/cpp # on older systems
|
|
|
|
# make sure libraries are not linked dynamically (as a security measure)
|
|
-LDFLAGS= # common
|
|
+LDFLAGS= -static
|
|
+#LDFLAGS= # common
|
|
#LDFLAGS= -non_shared # OSF/1
|
|
#LDFLAGS= -Bstatic # SunOS 4 (cannot statically link tripwire
|
|
# on Solaris 2.3)
|
|
@@ -103,7 +102,7 @@
|
|
YACC="$(YACC)" LEX="$(LEX)" all)
|
|
|
|
install: all
|
|
- (cd src; make INSTALL=$(INSTALL) DESTDIR=$(DESTDIR) install)
|
|
+ (cd src; make INSTALL=$(INSTALL) DESTDIR=$(BINDIR) install)
|
|
(cd man; make INSTALL=$(INSTALL) MANDIR=$(MANDIR) install)
|
|
|
|
test: all
|