diff options
Diffstat (limited to 'net/miniupnpd/Makefile')
-rw-r--r-- | net/miniupnpd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 3d0d876a3889..dc80c758088d 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -37,6 +37,12 @@ UPNP_IGDV2_EXTRA_PATCHES= ${PATCHDIR}/enable_igdv2.patch UPNP_STRICT_EXTRA_PATCHES= ${PATCHDIR}/enable_upnp_strict.patch LEASEFILE_EXTRA_PATCHES= ${PATCHDIR}/enable_leasefile.patch +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-portinuse.c +.endif + post-patch: ${REINPLACE_CMD} -e 's|\(-lssl -lcrypto\)|$$(LDFLAGS) \1|g' \ ${WRKSRC}/Makefile |