From f7191360c60a16247a133f17df493843d91ac7b4 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 29 Mar 2016 22:05:00 +0000 Subject: Avoid CVP pass for clang. Honor pkgsrc environment including wrappers. --- cad/klayout/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cad') diff --git a/cad/klayout/Makefile b/cad/klayout/Makefile index 6455a8d8a87..1eb4c8ee8d1 100644 --- a/cad/klayout/Makefile +++ b/cad/klayout/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2016/03/16 12:43:22 mef Exp $ +# $NetBSD: Makefile,v 1.3 2016/03/29 22:05:00 joerg Exp $ DISTNAME= klayout-0.24.5 CATEGORIES= cad @@ -38,8 +38,10 @@ OTHER_BIN= \ strmcmp \ strmxor +CXXFLAGS+= ${CLANG_NO_VALUE_PROPAGATION_PASS} + do-build: - (cd ${WRKSRC}; sh build.sh -python python${PYVERSSUFFIX} -qt ${PREFIX}/qt4) + cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} sh build.sh -python python${PYVERSSUFFIX} -qt ${PREFIX}/qt4 do-install: (cd ${WRKSRC}; \ -- cgit v1.2.3