forked from Lainports/freebsd-ports
PR: ports/168462 Submitted by: Tor Halvard Furulund <squat _at_ squat.no> (maintainer) Approved by: decke (mentor)
24 lines
646 B
Text
24 lines
646 B
Text
--- Makefile.orig 2012-05-30 10:27:24.587226775 +0200
|
|
+++ Makefile 2012-05-30 10:28:12.497226510 +0200
|
|
@@ -15,7 +15,7 @@
|
|
# $ CONFIG_OPTIONS="--ipv6 --igd2" make
|
|
#
|
|
|
|
-CFLAGS ?= -pipe -Os
|
|
+CFLAGS ?= -pipe
|
|
#CFLAGS = -pipe -O -g -DDEBUG
|
|
CFLAGS += -ansi
|
|
CFLAGS += -Wall
|
|
@@ -43,10 +43,12 @@
|
|
|
|
# better way to find if we are using ipf or pf
|
|
.if $(OSNAME) == "FreeBSD"
|
|
+.if defined(/etc/rc.subr) && defined(/etc/rc.conf)
|
|
FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
|
|
if checkyesno ipfilter_enable; then \
|
|
echo "ipf"; else echo "pf"; fi
|
|
.endif
|
|
+.endif
|
|
|
|
.if $(OSNAME) == "NetBSD"
|
|
FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
|