diff options
author | agc <agc@pkgsrc.org> | 1999-08-25 13:37:34 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-08-25 13:37:34 +0000 |
commit | 86aced3a9d904e13488ad6ea62c1d4320f9f6bb9 (patch) | |
tree | 4e6397ac799b96e60809f2cb1c097771c079275a /x11/xcolorsel | |
parent | 7d907c661a12f906c64159810469ac7e488e11ea (diff) | |
download | pkgsrc-86aced3a9d904e13488ad6ea62c1d4320f9f6bb9.tar.gz |
Introduce a USE_XAW definition, which is used in package Makefiles, to
denote that the package uses libXaw.
Introduce an XAW_TYPE definition, which is defined in /etc/mk.conf by
the user, to denote the type of libXaw to use. Possible values are:
standard, 3d and xpm.
Define USE_XAW in relevant Makefiles.
Set default XAW_TYPE in Makefiles which previously did a DEPENDS+= Xaw3d...
This means that package builds should not fail because of conflicting
Xaw packages being installed on machines.
Diffstat (limited to 'x11/xcolorsel')
-rw-r--r-- | x11/xcolorsel/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/x11/xcolorsel/Makefile b/x11/xcolorsel/Makefile index 4c6fcfb57a4..0e635df93b1 100644 --- a/x11/xcolorsel/Makefile +++ b/x11/xcolorsel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/04/15 20:39:49 tron Exp $ +# $NetBSD: Makefile,v 1.4 1999/08/25 13:37:37 agc Exp $ # DISTNAME= xcolorsel-1.1a-src @@ -8,9 +8,12 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB:=utilities/} MAINTAINER= perry@netbsd.org -DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d - WRKSRC= ${WRKDIR}/xcolorsel USE_IMAKE= yes +USE_XAW= yes + +.include "../../mk/bsd.prefs.mk" + +XAW_TYPE?= 3d .include "../../mk/bsd.pkg.mk" |