aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/hastmon
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-10 22:15:34 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-10 22:15:34 +0000
commit4dbaf954dfeee236a9b415a89c246ae253fb72fd (patch)
treefd1b04af6b407513e9d22d098f117ebc0318a0f3 /net-mgmt/hastmon
parentf2e35555605de8fc55be3787a63406a0eb96c1ac (diff)
downloadports-4dbaf954dfeee236a9b415a89c246ae253fb72fd.tar.gz
ports-4dbaf954dfeee236a9b415a89c246ae253fb72fd.zip
net-mgmt/hastmon: document SSL requirement and sed in SSL flags
Approved by: SSL blanket
Notes
Notes: svn path=/head/; revision=421752
Diffstat (limited to 'net-mgmt/hastmon')
-rw-r--r--net-mgmt/hastmon/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-mgmt/hastmon/Makefile b/net-mgmt/hastmon/Makefile
index 2f72abecb630..e6ede4ae126a 100644
--- a/net-mgmt/hastmon/Makefile
+++ b/net-mgmt/hastmon/Makefile
@@ -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}