diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-23 04:26:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-23 04:26:51 +0000 |
commit | a17239c066dcfcad39db4003a2b8d421fa1bc881 (patch) | |
tree | 4bfa8b36ce531fe4f0f7472d5fdff888abf4b533 /x11/xcolorsel/Makefile | |
parent | 79fe9eff8ce0ebb615cb7a647fadec6607504307 (diff) | |
download | pkgsrc-a17239c066dcfcad39db4003a2b8d421fa1bc881.tar.gz |
Move per-package default XAW_TYPE setting above the inclusion of
bsd.prefs.mk so that it is actually used. Where possible, include
xaw.buildlink.mk instead of setting USE_XAW, and use LIBXAW where needed.
Diffstat (limited to 'x11/xcolorsel/Makefile')
-rw-r--r-- | x11/xcolorsel/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xcolorsel/Makefile b/x11/xcolorsel/Makefile index 6a81adc5223..d7f2c844f30 100644 --- a/x11/xcolorsel/Makefile +++ b/x11/xcolorsel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/07/24 09:43:37 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/08/23 04:26:55 jlam Exp $ # DISTNAME= xcolorsel-1.1a-src @@ -11,7 +11,13 @@ COMMENT= Browse and select named X colors from rgb.txt WRKSRC= ${WRKDIR}/xcolorsel USE_IMAKE= yes -USE_XAW= yes + +.include "../../mk/bsd.prefs.mk" + +# We need at least Xaw3d to compile this package. +.if (${XAW_TYPE} == standard) XAW_TYPE= 3d +.endif +.include "../../mk/xaw.buildlink.mk" .include "../../mk/bsd.pkg.mk" |