Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2017 14:17:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439822 - head/devel/protobuf
Message-ID:  <201704301417.v3UEHv9q096593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Apr 30 14:17:57 2017
New Revision: 439822
URL: https://svnweb.freebsd.org/changeset/ports/439822

Log:
  Fix build when old verison installed

Modified:
  head/devel/protobuf/Makefile

Modified: head/devel/protobuf/Makefile
==============================================================================
--- head/devel/protobuf/Makefile	Sun Apr 30 14:15:40 2017	(r439821)
+++ head/devel/protobuf/Makefile	Sun Apr 30 14:17:57 2017	(r439822)
@@ -17,7 +17,7 @@ TEST_DEPENDS=	googlemock>=0:devel/google
 
 BROKEN_sparc64=	fails to compile: no atomic ops available
 
-CFLAGS+=	-DGOOGLE_PROTOBUF_NO_RTTI
+CFLAGS+=	-DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src
 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?201704301417.v3UEHv9q096593>