miniupnpd/Makefile: allow to override FWNAME
This commit is contained in:
parent
601bd2618b
commit
75cb38edda
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue