summaryrefslogtreecommitdiff
path: root/ports-mgmt/fbsdmon/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /ports-mgmt/fbsdmon/Makefile
parentnet/openh323: conflicts with h323plus (diff)
- Fix missing library problems when the linker enforces explicit linking
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=366215
Diffstat (limited to 'ports-mgmt/fbsdmon/Makefile')
-rw-r--r--ports-mgmt/fbsdmon/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports-mgmt/fbsdmon/Makefile b/ports-mgmt/fbsdmon/Makefile
index a072f57bd75f..e0b74efdc50e 100644
--- a/ports-mgmt/fbsdmon/Makefile
+++ b/ports-mgmt/fbsdmon/Makefile
@@ -16,6 +16,9 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
SUB_FILES= 600.fbsdmon pkg-message
USE_RC_SUBR= fbsdmon
+post-patch:
+ @${REINPLACE_CMD} '/^LIBS =/s/$$/ -lz/' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fbsdmon ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}/var/db/fbsdmon