summaryrefslogtreecommitdiff
path: root/cad/pcb-current/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/pcb-current/Makefile')
-rw-r--r--cad/pcb-current/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/cad/pcb-current/Makefile b/cad/pcb-current/Makefile
index 198b6710886..861628a309d 100644
--- a/cad/pcb-current/Makefile
+++ b/cad/pcb-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/04/27 21:02:42 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.7 2004/05/04 02:14:44 dmcmahill Exp $
#
DISTNAME= pcb-${SNAPDATE}
@@ -36,4 +36,15 @@ EVAL_PREFIX+= M4DIR=m4
M4=${M4DIR}/bin/${GNU_PROGRAM_PREFIX}m4
CONFIGURE_ENV+= WISH=${TKDIR}/bin/wish
+.if ${XAW_TYPE} == "xpm"
+CONFIGURE_ARGS+= --with-xaw=Xaw-Xpm
+.elif ${XAW_TYPE} == "3d"
+CONFIGURE_ARGS+= --with-xaw=Xaw3d
+.elif ${XAW_TYPE} == "neXtaw"
+CONFIGURE_ARGS+= --with-xaw=neXtaw
+.else
+CONFIGURE_ARGS+= --with-xaw=Xaw
+.endif
+
+.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"