summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}