summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-05 23:34:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-05 23:34:19 +0000
commit23eae4228627fb2c76358cca6d568dcd059e973a (patch)
tree3b62f2e9eb509dabecfd27145df062578575d60e
parentfaa5fb1654f5adbf6073037da42fc4194f42207f (diff)
downloadfreebsd-ports-23eae4228627fb2c76358cca6d568dcd059e973a.zip
Support stage
USES=libtool
-rw-r--r--devel/protobuf-c/Makefile13
-rw-r--r--devel/protobuf-c/pkg-plist1
2 files changed, 4 insertions, 10 deletions
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 <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>
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