summaryrefslogtreecommitdiff
path: root/cad/pcb-current/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-05-04 02:14:44 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-05-04 02:14:44 +0000
commit331619da0a0b78304c4a735fee8b36a1253de333 (patch)
treecccb1644c1f7d8568ca74df840a1bf9d12390d51 /cad/pcb-current/Makefile
parentf2d0c7f3f7680a769413a591c9f295a4cf5d839f (diff)
downloadpkgsrc-331619da0a0b78304c4a735fee8b36a1253de333.tar.gz
obey XAW_TYPE and include xaw.buildlink3.mk
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"