pkgsrc/devel/protobuf/Makefile
asau 8939789928 Make it depend on zlib explicitly.
This fixes linking problems on platforms with no builtin zlib.
Found by Jason Bacon on CentOS.
2013-03-29 09:17:26 +00:00

28 lines
656 B
Makefile

# $NetBSD: Makefile,v 1.6 2013/03/29 09:17:26 asau Exp $
#
DISTNAME= protobuf-2.5.0
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://protobuf.googlecode.com/files/
MAINTAINER= aran@100acres.us
HOMEPAGE= http://code.google.com/p/protobuf/
COMMENT= Google protocol buffers
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c++ c
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib
PKGCONFIG_OVERRIDE+= protobuf-lite.pc.in
PKGCONFIG_OVERRIDE+= protobuf.pc.in
TEST_TARGET= check
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.0.4
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"