pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/pcb-current obey XAW_TYPE and include xaw.buildlin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/838215bff243
branches:  trunk
changeset: 474693:838215bff243
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue May 04 02:14:44 2004 +0000

description:
obey XAW_TYPE and include xaw.buildlink3.mk

diffstat:

 cad/pcb-current/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 86aa1a4b6809 -r 838215bff243 cad/pcb-current/Makefile
--- a/cad/pcb-current/Makefile  Tue May 04 02:07:06 2004 +0000
+++ b/cad/pcb-current/Makefile  Tue May 04 02:14:44 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index