mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-17 00:17:40 +00:00
miniupnpd/Makefile: allow to override FWNAME
This commit is contained in:
parent
601bd2618b
commit
75cb38edda
@ -39,7 +39,6 @@ FWNAME = pf
|
|||||||
.else
|
.else
|
||||||
FWNAME = ipf
|
FWNAME = ipf
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
# better way to find if we are using ipf or pf
|
# better way to find if we are using ipf or pf
|
||||||
.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
|
.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"
|
FWNAME != [ `uname -r | cut -d. -f1` -ge 11 ] && echo "pf" || echo "ipfw"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.endif
|
||||||
|
|
||||||
# Solaris specific CFLAGS
|
# Solaris specific CFLAGS
|
||||||
.if $(OSNAME) == "SunOS"
|
.if $(OSNAME) == "SunOS"
|
||||||
CFLAGS += -DSOLARIS2=`uname -r | cut -d. -f2`
|
CFLAGS += -DSOLARIS2=`uname -r | cut -d. -f2`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user