aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/libcompizconfig
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 14:49:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 14:49:26 +0000
commitebb04f49c21a7da2953675b331eb7c9b1cb7d35b (patch)
tree334e2b5d414b5b4e2d6139fd6873cb1dfd72552a /x11-wm/libcompizconfig
parent1884ff8c5075f3e906d1bd2d422dba3269b523d8 (diff)
downloadports-ebb04f49c21a7da2953675b331eb7c9b1cb7d35b.tar.gz
ports-ebb04f49c21a7da2953675b331eb7c9b1cb7d35b.zip
Notes
Diffstat (limited to 'x11-wm/libcompizconfig')
-rw-r--r--x11-wm/libcompizconfig/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-wm/libcompizconfig/Makefile b/x11-wm/libcompizconfig/Makefile
index 430b9c8c1047..bef6c0461084 100644
--- a/x11-wm/libcompizconfig/Makefile
+++ b/x11-wm/libcompizconfig/Makefile
@@ -27,7 +27,9 @@ USE_GNOME= gnomehack intltool libxml2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-OPTIONS= INOTIFY "Enable inotify support" on
+OPTONS_DEFINE= INOTIFY
+OPTIONS_DEFAULT= INOTIFY
+INOTIFY_DESC?= Enable inotify support
.include <bsd.port.pre.mk>
@@ -36,13 +38,13 @@ OPTIONS= INOTIFY "Enable inotify support" on
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-compiz.cpp
.endif
-.if !defined(WITHOUT_INOTIFY)
+.if ${PORT_OPTIONS:MINOTIFY}
LIB_DEPENDS+= inotify.0:${PORTSDIR}/devel/libinotify
LDFLAGS+= -linotify
.endif
post-patch:
-.if defined(WITHOUT_INOTIFY)
+.if empty(PORT_OPTIONS:MINOTIFY)
@${REINPLACE_CMD} -e 's|sys/inotify.h||' ${WRKSRC}/configure
.endif
@echo "OSVERSION=${OSVERSION}"