summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2006-04-25 00:51:11 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2006-04-25 00:51:11 +0000
commitc900de7d35b5eefae9d4312a41fd7c5c11b88ef9 (patch)
treef8b8a3694b555c50b597fb08a5f0ce8bfca1492f /cad
parent31e0ac81c56bdc6d1cee896f5172434690a5dd8e (diff)
downloadpkgsrc-c900de7d35b5eefae9d4312a41fd7c5c11b88ef9.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/Makefile11
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