mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-14 16:34:37 +00:00
miniupnpd/Makefile: Mac OS X switched from ipfw to pf
OS X 10.7 Lion switched to pf
This commit is contained in:
parent
708c83d873
commit
f7b6b1ec19
@ -63,7 +63,9 @@ FWNAME != . /etc/rc.subr; . /etc/rc.conf; \
|
||||
.endif
|
||||
|
||||
.if $(OSNAME) == "Darwin"
|
||||
FWNAME = ipfw
|
||||
# Firewall is ipfw up to OS X 10.6 Snow Leopard
|
||||
# and pf since OS X 10.7 Lion (Darwin 11.0)
|
||||
FWNAME != [ `uname -r | cut -d. -f1` -ge 11 ] && echo "pf" || echo "ipfw"
|
||||
.endif
|
||||
|
||||
# Solaris specific CFLAGS
|
||||
|
Loading…
x
Reference in New Issue
Block a user