mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-22 10:48:08 +00:00
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…
x
Reference in New Issue
Block a user