net/miniupnpd: Honor LDFLAGS (for SSL support)
Approved by: SSL blanket
This commit is contained in:
parent
717b4f1710
commit
03b61a7e48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421768
1 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue