Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 22:15:34 +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: r421752 - head/net-mgmt/hastmon
Message-ID:  <201609102215.u8AMFYoc048555@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



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