Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2016 00:46:33 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421768 - head/net/miniupnpd
Message-ID:  <201609110046.u8B0kXuf005593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Sep 11 00:46:33 2016
New Revision: 421768
URL: https://svnweb.freebsd.org/changeset/ports/421768

Log:
  net/miniupnpd: Honor LDFLAGS (for SSL support)
  
  Approved by:	SSL blanket

Modified:
  head/net/miniupnpd/Makefile

Modified: head/net/miniupnpd/Makefile
==============================================================================
--- head/net/miniupnpd/Makefile	Sun Sep 11 00:41:49 2016	(r421767)
+++ head/net/miniupnpd/Makefile	Sun Sep 11 00:46:33 2016	(r421768)
@@ -13,12 +13,11 @@ COMMENT=	UPnP IGD implementation which u
 
 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}/en
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609110046.u8B0kXuf005593>