diff options
author | marino <marino@FreeBSD.org> | 2016-09-11 08:46:33 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-11 08:46:33 +0800 |
commit | 05a148fdc6accf128194366fc386b0402f4b36c9 (patch) | |
tree | b0ca64803293e0e32ca12d6388b2be38d4c43ae9 /net/miniupnpd | |
parent | 08073d86d5b5de05b0ff1aff2f839e23a5b6d65b (diff) | |
download | freebsd-ports-gnome-05a148fdc6accf128194366fc386b0402f4b36c9.tar.gz freebsd-ports-gnome-05a148fdc6accf128194366fc386b0402f4b36c9.tar.zst freebsd-ports-gnome-05a148fdc6accf128194366fc386b0402f4b36c9.zip |
net/miniupnpd: Honor LDFLAGS (for SSL support)
Approved by: SSL blanket
Diffstat (limited to 'net/miniupnpd')
-rw-r--r-- | net/miniupnpd/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index c617067108c3..0e2faa0a6f72 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -13,12 +13,11 @@ COMMENT= UPnP IGD implementation which uses pf/ipf LICENSE= BSD3CLAUSE -USES= cpe +USES= cpe ssl CPE_VENDOR= miniupnp_project PLIST_FILES= etc/miniupnpd.conf.sample sbin/miniupnpd \ man/man8/miniupnpd.8.gz MAKE_JOBS_UNSAFE=yes -USE_OPENSSL= yes USE_RC_SUBR= miniupnpd CFLAGS+= -I${OPENSSLINC} @@ -39,4 +38,8 @@ UPNP_IGDV2_EXTRA_PATCHES= ${PATCHDIR}/enable_igdv2.patch UPNP_STRICT_EXTRA_PATCHES= ${PATCHDIR}/enable_upnp_strict.patch LEASEFILE_EXTRA_PATCHES= ${PATCHDIR}/enable_leasefile.patch +post-patch: + ${REINPLACE_CMD} -e 's|\(-lssl -lcrypto\)|$$(LDFLAGS) \1|g' \ + ${WRKSRC}/Makefile + .include <bsd.port.mk> |