ports/net/miniupnpd/files/patch-Makefile
Sylvio Cesar Teixeira 1a7e7ce844 - Update to 1.4
PR:		ports/140319
Submitted by:	Hung-Yi Chen <gaod@hychen.org>
Approved by:	maintainer (timeout > 14 days), miwi (mentor)
2009-11-20 22:28:28 +00:00

15 lines
479 B
Text

--- Makefile.orig 2009-11-06 08:23:18.000000000 +0800
+++ Makefile 2009-11-06 08:23:31.000000000 +0800
@@ -25,10 +25,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; \