summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2005-02-14 23:13:14 +0000
committerMaxime Henrion <mux@FreeBSD.org>2005-02-14 23:13:14 +0000
commitdb58d0eb8adee1620cb121cb6c5e103bd95bd67e (patch)
tree6181187f0b5d56fb213db21a473655cd989104f8 /x11-wm
parentDon't delete dir's that are not ours [1]. (diff)
Add an option for building xfwm4 with support for the experimental
X11 Composite extension. Defaults to off. Reviewed by: maintainer
Notes
Notes: svn path=/head/; revision=128870
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce4-wm/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-wm/xfce4-wm/Makefile b/x11-wm/xfce4-wm/Makefile
index 25a68593a302..83afcde1e26a 100644
--- a/x11-wm/xfce4-wm/Makefile
+++ b/x11-wm/xfce4-wm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xfce4-wm
PORTVERSION= 4.2.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11-wm xfce
MASTER_SITES= http://www.us.xfce.org/archive/xfce-${PORTVERSION}/src/ \
http://spuriousinterrupt.org/projects/xfce4/files/mirror/xfce-${PORTVERSION}/ \
@@ -36,4 +36,12 @@ CONFIGURE_ENV= CFLAGS=-I${LOCALBASE}/include \
CPPFLAGS=-I${LOCALBASE}/include \
LIBS=-L${LOCALBASE}/lib
-.include <bsd.port.mk>
+OPTIONS= COMPOSITE "Support the experimental X11 Composite extension" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_COMPOSITE)
+CONFIGURE_ARGS+= --enable-compositor
+.endif
+
+.include <bsd.port.post.mk>