View | Details | Raw Unified | Return to bug 194042
Collapse All | Expand All

(-)devel/protobuf/Makefile (-5 / +1 lines)
Lines 14-29 GNU_CONFIGURE= yes Link Here
14
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
15
USES=		gmake pathfix pkgconfig tar:bzip2 libtool
15
USES=		gmake pathfix pkgconfig tar:bzip2 libtool
16
ONLY_FOR_ARCHS=	i386 amd64
16
ONLY_FOR_ARCHS=	i386 amd64
17
INSTALL_TARGET=	install-strip
17
18
18
# clang will generate code that just doesn't work with clementine-player
19
# clang will generate code that just doesn't work with clementine-player
19
# if this isn't compiled as though it were C99.
20
# if this isn't compiled as though it were C99.
20
CFLAGS+=	-std=c99 -DGOOGLE_PROTOBUF_NO_RTTI
21
CFLAGS+=	-std=c99 -DGOOGLE_PROTOBUF_NO_RTTI
21
22
22
post-install:
23
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf-lite.so.8
24
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf.so.8
25
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotoc.so.8
26
27
tests: build
23
tests: build
28
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
24
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
29
25

Return to bug 194042