diff options
author | dmcmahill <dmcmahill> | 2006-04-25 00:51:11 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2006-04-25 00:51:11 +0000 |
commit | a15b306550211bd39b1cf336f93e46f678d9f92e (patch) | |
tree | f8b8a3694b555c50b597fb08a5f0ce8bfca1492f /cad | |
parent | 9331b5316df318e94411f56b5ef77fa7f335e975 (diff) | |
download | pkgsrc-a15b306550211bd39b1cf336f93e46f678d9f92e.tar.gz |
Use an options group for the gui selection (gtk vs motif). Suggested
by Thomas Klausner.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/pcb/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile index 75450a98588..cd438baa3d1 100644 --- a/cad/pcb/Makefile +++ b/cad/pcb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2006/04/23 03:02:26 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.35 2006/04/25 00:51:11 dmcmahill Exp $ # DISTNAME= pcb-${SNAPDATE} @@ -19,13 +19,16 @@ CONFIGURE_ENV+= WISH=${TOOLS_PATH.wish} USE_TOOLS+= bison gm4:run gmake lex wish:run INFO_FILES= # PLIST -PKG_OPTIONS_VAR= PKG_OPTIONS.pcb -PKG_SUPPORTED_OPTIONS= pcb-motif png +PKG_OPTIONS_VAR= PKG_OPTIONS.pcb +PKG_SUPPORTED_OPTIONS= png +PKG_OPTIONS_REQUIRED_GROUPS= gui +PKG_OPTIONS_GROUP.gui= gtk motif +PKG_SUGGESTED_OPTIONS= png gtk .include "../../mk/bsd.prefs.mk" .include "../../mk/bsd.options.mk" -.if !empty(PKG_OPTIONS:Mpcb-motif) +.if !empty(PKG_OPTIONS:Mmotif) .include "../../mk/motif.buildlink3.mk" CONFIGURE_ARGS+= --with-gui=lesstif .else |