miniupnpd/Makefile: allow to override FWNAME

This commit is contained in:
Thomas Bernard 2014-03-19 12:23:48 +01:00
parent 601bd2618b
commit 75cb38edda
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,6 @@ FWNAME = pf
.else
FWNAME = ipf
.endif
.endif
# better way to find if we are using ipf or pf
.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
@ -68,6 +67,8 @@ FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
FWNAME != [ `uname -r | cut -d. -f1` -ge 11 ] && echo "pf" || echo "ipfw"
.endif
.endif
# Solaris specific CFLAGS
.if $(OSNAME) == "SunOS"
CFLAGS += -DSOLARIS2=`uname -r | cut -d. -f2`