Date: Mon, 11 Jun 2018 10:07:11 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472179 - head/devel/protobuf Message-ID: <201806111007.w5BA7BdI055148@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Mon Jun 11 10:07:11 2018 New Revision: 472179 URL: https://svnweb.freebsd.org/changeset/ports/472179 Log: Fix build on systems without cc(1) and c++(1). Modified: head/devel/protobuf/Makefile Modified: head/devel/protobuf/Makefile ============================================================================== --- head/devel/protobuf/Makefile Mon Jun 11 09:34:32 2018 (r472178) +++ head/devel/protobuf/Makefile Mon Jun 11 10:07:11 2018 (r472179) @@ -18,7 +18,10 @@ TEST_DEPENDS= googlemock>=0:devel/googlemock \ googletest>=0:devel/googletest CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src -CONFIGURE_ENV= CXX_FOR_BUILD=c++ +CONFIGURE_ENV= CC_FOR_BUILD="${CC}" CFLAGS_FOR_BUILD="${CFLAGS}" \ + CPPFLAGS_FOR_BUILD="${CPPFLAGS}" \ + CXX_FOR_BUILD="${CXX}" CXXFLAGS_FOR_BUILD="${CXXFLAGS}" \ + LDFLAGS_FOR_BUILD="${LDFLAGS}" GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_ARGS= ${MAKE_ARGS} ${_MAKE_JOBS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806111007.w5BA7BdI055148>