Lines 12-28
COMMENT= Data interchange format library
Link Here
|
12 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
14 |
|
|
|
15 |
TEST_DEPENDS= googletest>0:devel/googletest \ |
16 |
googlemock>0:devel/googlemock |
17 |
|
15 |
BROKEN_sparc64= fails to compile: no atomic ops available |
18 |
BROKEN_sparc64= fails to compile: no atomic ops available |
16 |
|
19 |
|
17 |
CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI |
20 |
CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI |
18 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
19 |
INSTALL_TARGET= install-strip |
22 |
INSTALL_TARGET= install-strip |
20 |
TEST_TARGET= check |
23 |
TEST_TARGET= check |
|
|
24 |
TEST_ARGS= ${MAKE_ARGS} ${_MAKE_JOBS} |
21 |
USE_CSTD= c99 # for audio/clementine-player support |
25 |
USE_CSTD= c99 # for audio/clementine-player support |
22 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
23 |
USES= autoreconf gmake libtool pathfix pkgconfig |
27 |
USES= autoreconf gmake libtool localbase pathfix pkgconfig |
24 |
|
28 |
|
25 |
GH_ACCOUNT= google |
29 |
GH_ACCOUNT= google |
26 |
USE_GITHUB= yes |
30 |
USE_GITHUB= yes |
27 |
|
31 |
|
|
|
32 |
post-patch: |
33 |
@${REINPLACE_CMD} -e 's/^check-local/&-disabled/' \ |
34 |
${WRKSRC}/Makefile.am |
35 |
@${REINPLACE_CMD} -Ee '/gtest|mock/s/.*lib(.*)\.la/ -l\1/' \ |
36 |
${WRKSRC}/src/Makefile.am |
37 |
|
28 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |