diff options
author | bjs <bjs@pkgsrc.org> | 2007-12-19 05:43:27 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-12-19 05:43:27 +0000 |
commit | ee284a80635476874c6f223ad2f8d734970926dc (patch) | |
tree | 92de4ad8f5e11f5622dca2100bd1d9eb5f9224d9 /x11/xcompmgr/Makefile | |
parent | 5b55df1f492b44729a020f9a02b5a540ead71533 (diff) | |
download | pkgsrc-ee284a80635476874c6f223ad2f8d734970926dc.tar.gz |
Add some fixes from GIT and bump revision. Tested with
xorg-server-1.4.0.90 + Mesa-7.0.2 by me. Mesa's coming, I promise. ;)
While here, PKG_SKIP_REASON -> PKG_FAIL_REASON, add various preprocessor
definitions to XCOMPMGR_DEFS for the user to play with (sane defaults
have been tested).
Changes include:
Constified some variables.
Include getopt.h for getopt(). (in pkgsrc, this uses USE_FEATURES)
Fixed a bunch of warnings.
Bug #9762: Fix opacity changes on unmapped windows.
Diffstat (limited to 'x11/xcompmgr/Makefile')
-rw-r--r-- | x11/xcompmgr/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/x11/xcompmgr/Makefile b/x11/xcompmgr/Makefile index c7689cf30dc..ab1a4c9181a 100644 --- a/x11/xcompmgr/Makefile +++ b/x11/xcompmgr/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.20 2007/07/13 18:01:16 drochner Exp $ +# $NetBSD: Makefile,v 1.21 2007/12/19 05:43:30 bjs Exp $ # DISTNAME= xcompmgr-1.1.3 +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://xapps.freedesktop.org/release/ @@ -13,12 +14,25 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= pkg-config GNU_CONFIGURE= yes +USE_FEATURES= getopt_long + +### XXX You may play around with these if you like; they're simply +### the #defines from xcompmgr.c placed here for your convenience. +# +XCOMPMGR_DEFS+= -DREPAINT_MONITOR=0 # default: 0 (?) +XCOMPMGR_DEFS+= -DCAN_DO_USABLE=1 # default: 0 (damage notification) +XCOMPMGR_DEFS+= -DDEBUG_REPAINT=0 # default: 0 (debugging) +XCOMPMGR_DEFS+= -DDEBUG_REPAINT=0 # default: 0 (debugging) +XCOMPMGR_DEFS+= -DSHADOWS=1 # default: 1 (shadow support) +XCOMPMGR_DEFS+= -DSHARP_SHADOW=0 # default 0 (?) + +CPPFLAGS+= ${XCOMPMGR_DEFS} .include "../../mk/bsd.prefs.mk" .if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86) || \ defined(X11_TYPE) && !empty(X11_TYPE:Mnative) || !defined(X11_TYPE) -PKG_SKIP_REASON+= "This package is exclusively for X.org." +PKG_FAIL_REASON+= "This package is exclusively for X.org." .endif .include "../../x11/compositeproto/buildlink3.mk" |