diff options
Diffstat (limited to 'net/miniupnpd')
-rw-r--r-- | net/miniupnpd/Makefile | 6 | ||||
-rw-r--r-- | net/miniupnpd/files/extra-patch-portinuse.c (renamed from net/miniupnpd/files/patch-portinuse.c) | 0 |
2 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 diff --git a/net/miniupnpd/files/patch-portinuse.c b/net/miniupnpd/files/extra-patch-portinuse.c index 8ec4e68022d0..8ec4e68022d0 100644 --- a/net/miniupnpd/files/patch-portinuse.c +++ b/net/miniupnpd/files/extra-patch-portinuse.c |