Support stage

USES=libtool
This commit is contained in:
Baptiste Daroussin 2014-02-05 23:34:19 +00:00
parent faa5fb1654
commit 23eae42286
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342898
2 changed files with 4 additions and 10 deletions

View file

@ -10,26 +10,19 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= ahurt@anbcs.com
COMMENT= This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++)
LIB_DEPENDS= protobuf:${PORTSDIR}/devel/protobuf
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
USES= gmake pathfix pkgconfig
USES= gmake pathfix pkgconfig libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure
tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
BROKEN= Does not build on powerpc-9
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -7,6 +7,7 @@ lib/libprotobuf-c.a
lib/libprotobuf-c.la
lib/libprotobuf-c.so
lib/libprotobuf-c.so.0
lib/libprotobuf-c.so.0.0.0
libdata/pkgconfig/libprotobuf-c.pc
@dirrm include/google/protobuf-c
@dirrmtry include/google