diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
commit | f8357b5cbaa160ccdf9943cac099f5e092c591da (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /ports-mgmt | |
parent | 89a7d6ecbdde724b92ca6650493f56cf68855f35 (diff) | |
download | freebsd-ports-graphics-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.gz freebsd-ports-graphics-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.zst freebsd-ports-graphics-f8357b5cbaa160ccdf9943cac099f5e092c591da.zip |
- Fix missing library problems when the linker enforces explicit linking
PR: 192062
Exp-run by: antoine
Approved by: portmgr (antoine)
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/fbsdmon/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports-mgmt/fbsdmon/Makefile b/ports-mgmt/fbsdmon/Makefile index a072f57bd75..e0b74efdc50 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 |