1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

net-mgmt/hastmon: document SSL requirement and sed in SSL flags

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-10 22:15:34 +00:00
parent f2e3555560
commit 4dbaf954df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421752

View File

@ -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}