pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/pcb Use an options group for the gui selection (gt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1c419bfcb08
branches: trunk
changeset: 511876:f1c419bfcb08
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Tue Apr 25 00:51:11 2006 +0000
description:
Use an options group for the gui selection (gtk vs motif). Suggested
by Thomas Klausner.
diffstat:
cad/pcb/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 8a9d638f4031 -r f1c419bfcb08 cad/pcb/Makefile
--- a/cad/pcb/Makefile Mon Apr 24 23:44:18 2006 +0000
+++ b/cad/pcb/Makefile Tue Apr 25 00:51:11 2006 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index