aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/hastmon
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-09-11 06:15:34 +0800
committermarino <marino@FreeBSD.org>2016-09-11 06:15:34 +0800
commitda83837958597ac21efb6de6db3adede0728a9cb (patch)
treefd1b04af6b407513e9d22d098f117ebc0318a0f3 /net-mgmt/hastmon
parent3fdf686a6b3b091c5920ebc8e14f9a9a5a1bafe9 (diff)
downloadfreebsd-ports-gnome-da83837958597ac21efb6de6db3adede0728a9cb.tar.gz
freebsd-ports-gnome-da83837958597ac21efb6de6db3adede0728a9cb.tar.zst
freebsd-ports-gnome-da83837958597ac21efb6de6db3adede0728a9cb.zip
net-mgmt/hastmon: document SSL requirement and sed in SSL flags
Approved by: SSL blanket
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}