Add dependency on libinotify and fix build when it is present.
Reported by: Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> (via email)
This commit is contained in:
parent
4b2f32c726
commit
3959554568
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422930
1 changed files with 4 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue