summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2004-05-04 02:14:44 +0000
committerdmcmahill <dmcmahill>2004-05-04 02:14:44 +0000
commit51119601f65a9876a3b75ce1a82f14a0ca6ba998 (patch)
treecccb1644c1f7d8568ca74df840a1bf9d12390d51 /cad
parent91ba032c85ede55f9eb240a23cff95977714939f (diff)
downloadpkgsrc-51119601f65a9876a3b75ce1a82f14a0ca6ba998.tar.gz
obey XAW_TYPE and include xaw.buildlink3.mk
Diffstat (limited to 'cad')
-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"