miniupnpd/Makefile: fix for OpenBSD
This commit is contained in:
parent
dee1fbe394
commit
848218fe2d
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.80 2014/04/07 10:32:20 nanard Exp $
|
# $Id: Makefile,v 1.83 2014/04/18 08:24:41 nanard Exp $
|
||||||
# MiniUPnP project
|
# MiniUPnP project
|
||||||
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
# Author: Thomas Bernard
|
# Author: Thomas Bernard
|
||||||
|
@ -40,6 +40,10 @@ ARCH != uname -m
|
||||||
#FWNAME = ipf
|
#FWNAME = ipf
|
||||||
#.endif
|
#.endif
|
||||||
|
|
||||||
|
.if $(OSNAME) == "OpenBSD"
|
||||||
|
FWNAME = pf
|
||||||
|
.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)
|
||||||
.if $(OSNAME) == "FreeBSD"
|
.if $(OSNAME) == "FreeBSD"
|
||||||
|
|
Loading…
Reference in New Issue