Date: Fri, 22 Apr 2016 01:43:50 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413759 - head/devel/creduce Message-ID: <201604220143.u3M1hovl021825@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri Apr 22 01:43:49 2016 New Revision: 413759 URL: https://svnweb.freebsd.org/changeset/ports/413759 Log: devel/creduce: fix build on 9.3 Modified: head/devel/creduce/Makefile Modified: head/devel/creduce/Makefile ============================================================================== --- head/devel/creduce/Makefile Thu Apr 21 23:00:09 2016 (r413758) +++ head/devel/creduce/Makefile Fri Apr 22 01:43:49 2016 (r413759) @@ -21,10 +21,18 @@ RUN_DEPENDS= llvm-config37:devel/llvm37 GNU_CONFIGURE= yes CONFIGURE_FLAGS= --with-llvm=${LOCALBASE} +CONFIGURE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config37 \ + CC=${LOCALBASE}/bin/clang37 \ + CXX=${LOCALBASE}/bin/clang++37 \ + CPP=${LOCALBASE}/bin/clang-cpp37 -USES= gmake perl5 +USES= autoreconf gmake libtool perl5 -post-patch: - ${REINPLACE_CMD} 's,llvm-config,llvm-config37,g' ${WRKSRC}/configure +.include <bsd.port.pre.mk> -.include <bsd.port.mk> +.if ${OSVERSION} < 1000000 +CONFIGURE_ENV+= CPPFLAGS="-stdlib=libstdc++ -I${LOCALBASE}/lib/gcc48/include/c++/ -I${LOCALBASE}/lib/gcc48/include/ -I${LOCALBASE}/lib/gcc48/include/c++/${ARCH:C/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}/ -L${LOCALBASE}/lib -L${LOCALBASE}/lib/gcc48" \ + LDFLAGS="-L/usr/local/lib/gcc48 -lstdc++" +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604220143.u3M1hovl021825>