miniupnpd/Makefile: fix for OpenBSD

This commit is contained in:
Thomas Bernard 2014-04-18 10:26:09 +02:00
parent dee1fbe394
commit 848218fe2d
1 changed files with 5 additions and 1 deletions

View File

@ -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
# http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
# Author: Thomas Bernard
@ -40,6 +40,10 @@ ARCH != uname -m
#FWNAME = ipf
#.endif
.if $(OSNAME) == "OpenBSD"
FWNAME = pf
.endif
# better way to find if we are using ipf or pf
.if exists(/etc/rc.subr) && exists(/etc/rc.conf)
.if $(OSNAME) == "FreeBSD"