From owner-svn-ports-head@freebsd.org Mon Jun 11 10:07:12 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2F0A100B103; Mon, 11 Jun 2018 10:07:11 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A58347ADB1; Mon, 11 Jun 2018 10:07:11 +0000 (UTC) (envelope-from tijl@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 869C11A007; Mon, 11 Jun 2018 10:07:11 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5BA7BQH055149; Mon, 11 Jun 2018 10:07:11 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5BA7BdI055148; Mon, 11 Jun 2018 10:07:11 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201806111007.w5BA7BdI055148@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Mon, 11 Jun 2018 10:07:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472179 - head/devel/protobuf X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: head/devel/protobuf X-SVN-Commit-Revision: 472179 X-SVN-Commit-Repository: ports 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.26 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: Mon, 11 Jun 2018 10:07:12 -0000 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}