svn commit: r422930 - head/sysutils/conky

Guido Falsi madpilot at FreeBSD.org
Thu Sep 29 14:31:30 UTC 2016


Author: madpilot
Date: Thu Sep 29 14:31:29 2016
New Revision: 422930
URL: https://svnweb.freebsd.org/changeset/ports/422930

Log:
  Add dependency on libinotify and fix build when it is present.
  
  Reported by:    Walter Schwarzenfeld <w.schwarzenfeld at utanet.at>
  		(via email)

Modified:
  head/sysutils/conky/Makefile

Modified: head/sysutils/conky/Makefile
==============================================================================
--- head/sysutils/conky/Makefile	Thu Sep 29 14:17:43 2016	(r422929)
+++ head/sysutils/conky/Makefile	Thu Sep 29 14:31:29 2016	(r422930)
@@ -4,12 +4,14 @@
 PORTNAME=	conky
 PORTVERSION=	1.10.4
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	madpilot at 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 \


More information about the svn-ports-head mailing list