pkgsrc/devel/protobuf/buildlink3.mk
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

14 lines
357 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2013/03/29 09:17:26 asau Exp $
BUILDLINK_TREE+= protobuf
.if !defined(PROTOBUF_BUILDLINK3_MK)
PROTOBUF_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.protobuf+= protobuf>=2.4.1
BUILDLINK_PKGSRCDIR.protobuf?= ../../devel/protobuf
.include "../../devel/zlib/buildlink3.mk"
.endif # PROTOBUF_BUILDLINK3_MK
BUILDLINK_TREE+= -protobuf