summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-04-30 14:17:57 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-04-30 14:17:57 +0000
commit02c7f3bb4ca93c04e28db78541a1fa607f0c7a77 (patch)
tree7a42f9c193e081e0ca7ec4e0eebb89b9fe21d275
parentBump PORTREVISION for graphics/webp shlib change (diff)
Fix build when old verison installed
Notes
Notes: svn path=/head/; revision=439822
-rw-r--r--devel/protobuf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/protobuf/Makefile b/devel/protobuf/Makefile
index 8e9ac3d6cdaf..6fc12aa0fb39 100644
--- a/devel/protobuf/Makefile
+++ b/devel/protobuf/Makefile
@@ -17,7 +17,7 @@ TEST_DEPENDS= googlemock>=0:devel/googlemock \
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}