summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authortonio <tonio>2005-10-24 17:23:33 +0000
committertonio <tonio>2005-10-24 17:23:33 +0000
commit7235c56dc1148fda8e2be8c566ee6ada30f93335 (patch)
tree3550b95caa5a43a4af3ace604c30b7267bfdacc0 /wm
parent87b3986d55278eb2698aab0316729f8b336f8ccd (diff)
downloadpkgsrc-7235c56dc1148fda8e2be8c566ee6ada30f93335.tar.gz
Explicit support for Xrender via an option (allows transparency).
Should fix build under 2.0
Diffstat (limited to 'wm')
-rw-r--r--wm/fluxbox/Makefile4
-rw-r--r--wm/fluxbox/options.mk12
2 files changed, 12 insertions, 4 deletions
diff --git a/wm/fluxbox/Makefile b/wm/fluxbox/Makefile
index 722fa951cc6..a0d27901813 100644
--- a/wm/fluxbox/Makefile
+++ b/wm/fluxbox/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2005/10/20 15:55:01 tonio Exp $
+# $NetBSD: Makefile,v 1.30 2005/10/24 17:23:33 tonio Exp $
#
DISTNAME= fluxbox-0.9.14
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= wm x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
EXTRACT_SUFX= .tar.bz2
diff --git a/wm/fluxbox/options.mk b/wm/fluxbox/options.mk
index 5eba21b7ea7..8cf0631a741 100644
--- a/wm/fluxbox/options.mk
+++ b/wm/fluxbox/options.mk
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2005/03/30 11:59:10 jmcneill Exp $
+# $NetBSD: options.mk,v 1.3 2005/10/24 17:23:33 tonio Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fluxbox
-PKG_SUPPORTED_OPTIONS= gnome kde imlib2 xft
+PKG_SUPPORTED_OPTIONS= gnome kde imlib2 xft xrender
+PKG_SUGGESTED_OPTIONS= xrender
.include "../../mk/bsd.options.mk"
@@ -30,3 +31,10 @@ CONFIGURE_ARGS+= --enable-xft
.else
CONFIGURE_ARGS+= --disable-xft
.endif
+
+.if !empty(PKG_OPTIONS:Mxrender)
+CONFIGURE_ARGS+= --enable-xrender
+.include "../../x11/Xrender/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-xrender
+.endif