aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/conky
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2016-09-29 22:31:29 +0800
committermadpilot <madpilot@FreeBSD.org>2016-09-29 22:31:29 +0800
commita28c5812f1904d42cfe1595feeeaa6300a9d1a54 (patch)
tree60bf568daf2763a1fafe13194e8b11a5e256077f /sysutils/conky
parentfcc6c373435386b041be2e0b6a743ac4b59e1dda (diff)
downloadfreebsd-ports-gnome-a28c5812f1904d42cfe1595feeeaa6300a9d1a54.tar.gz
freebsd-ports-gnome-a28c5812f1904d42cfe1595feeeaa6300a9d1a54.tar.zst
freebsd-ports-gnome-a28c5812f1904d42cfe1595feeeaa6300a9d1a54.zip
Add dependency on libinotify and fix build when it is present.
Reported by: Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> (via email)
Diffstat (limited to 'sysutils/conky')
-rw-r--r--sysutils/conky/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile
index 5bf581adea17..ab41e6b64732 100644
--- a/sysutils/conky/Makefile
+++ b/sysutils/conky/Makefile
@@ -4,12 +4,14 @@
PORTNAME= conky
PORTVERSION= 1.10.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= madpilot@FreeBSD.org
COMMENT?= Advanced, highly configurable system monitor for X11
-LIB_DEPENDS= libtolua++-5.1.so:lang/tolua++
+LIB_DEPENDS= libtolua++-5.1.so:lang/tolua++ \
+ libinotify.so:devel/libinotify
BUILD_DEPENDS= db2x_xsltproc:textproc/docbook2X \
docbook-xsl>=0:textproc/docbook-xsl \
xsltproc:textproc/libxslt
@@ -128,7 +130,7 @@ post-patch:
-e 's/-D_POSIX_C_SOURCE=200809L/& -D__BSD_VISIBLE=1 -D_XOPEN_SOURCE=700/' \
${WRKSRC}/cmake/Conky.cmake
@${REINPLACE_CMD} -e 's,^set(INCLUDE_SEARCH_PATH \(.*\)),set(INCLUDE_SEARCH_PATH \1 ${LUA_INCDIR}),' \
- -e 's/ -lbsd/ -lintl/' \
+ -e 's/ -lbsd/ -lintl -linotify/' \
${WRKSRC}/cmake/ConkyPlatformChecks.cmake
@${REINPLACE_CMD} -e 's,LOCALBASE,${LOCALBASE},' \
${WRKSRC}/doc/docgen.sh \