aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nvclock
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 /sysutils/nvclock
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
- 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 'sysutils/nvclock')
-rw-r--r--sysutils/nvclock/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/nvclock/Makefile b/sysutils/nvclock/Makefile
index c2ca40e5fef4..09d7e153dea9 100644
--- a/sysutils/nvclock/Makefile
+++ b/sysutils/nvclock/Makefile
@@ -50,5 +50,7 @@ post-patch:
@${REINPLACE_CMD} -E '/exec_prefix|bindir/s|\$$\(DESTDIR\)||' \
${WRKSRC}/src/gtk/Makefile.in \
${WRKSRC}/src/qt/Makefile.in
+ @${REINPLACE_CMD} 's/-lnvcontrol/& @X11_LIBS@/' \
+ ${WRKSRC}/src/gtk/Makefile.in
.include <bsd.port.mk>