svn commit: r421752 - head/net-mgmt/hastmon

John Marino marino at FreeBSD.org
Sat Sep 10 22:15:35 UTC 2016


Author: marino
Date: Sat Sep 10 22:15:34 2016
New Revision: 421752
URL: https://svnweb.freebsd.org/changeset/ports/421752

Log:
  net-mgmt/hastmon: document SSL requirement and sed in SSL flags
  
  Approved by:	SSL blanket

Modified:
  head/net-mgmt/hastmon/Makefile

Modified: head/net-mgmt/hastmon/Makefile
==============================================================================
--- head/net-mgmt/hastmon/Makefile	Sat Sep 10 22:08:49 2016	(r421751)
+++ head/net-mgmt/hastmon/Makefile	Sat Sep 10 22:15:34 2016	(r421752)
@@ -13,11 +13,19 @@ LICENSE=	BSD2CLAUSE
 
 BUILD_DEPENDS=	mk-configure>=0.20:devel/mk-configure
 
+USES=		ssl
 MKCMAKE?=	${LOCALBASE}/bin/mkcmake
 INSTALL_TARGET=	installdirs install
 
 PORTDOCS=	ChangeLog COPYRIGHT README
 
+post-patch:
+	${REINPLACE_CMD} \
+		-e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \
+		-e "s|\(-DHAVE_CRYPTO\)|-I${OPENSSLINC} \1|g" \
+		${WRKSRC}/hastmon/Makefile \
+		${WRKSRC}/hastmonctl/Makefile
+
 do-build:
 	${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
 


More information about the svn-ports-head mailing list