From owner-svn-ports-head@freebsd.org Fri Apr 22 01:43:51 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C216B17C68; Fri, 22 Apr 2016 01:43:51 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D17D0125F; Fri, 22 Apr 2016 01:43:50 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3M1ho95021826; Fri, 22 Apr 2016 01:43:50 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3M1hovl021825; Fri, 22 Apr 2016 01:43:50 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201604220143.u3M1hovl021825@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 22 Apr 2016 01:43:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413759 - head/devel/creduce X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 01:43:51 -0000 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 -.include +.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