diff --git a/devel/protobuf-c/Makefile b/devel/protobuf-c/Makefile index 0138c1a63598..6578144cbf04 100644 --- a/devel/protobuf-c/Makefile +++ b/devel/protobuf-c/Makefile @@ -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 - -.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000 -BROKEN= Does not build on powerpc-9 -.endif - -.include +.include diff --git a/devel/protobuf-c/pkg-plist b/devel/protobuf-c/pkg-plist index 3dcd74d74361..3dc74ba71955 100644 --- a/devel/protobuf-c/pkg-plist +++ b/devel/protobuf-c/pkg-plist @@ -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