pkgsrc/net/libsoup24/buildlink3.mk

33 lines
946 B
Makefile

# $NetBSD: buildlink3.mk,v 1.25 2013/05/27 11:57:19 drochner Exp $
BUILDLINK_TREE+= libsoup24
.if !defined(LIBSOUP24_BUILDLINK3_MK)
LIBSOUP24_BUILDLINK3_MK:=
# API 2.4.0 but 2.28.0 due to buildlink dependency change
BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.28.0
BUILDLINK_ABI_DEPENDS.libsoup24+= libsoup24>=2.42.2nb2
BUILDLINK_PKGSRCDIR.libsoup24?= ../../net/libsoup24
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
_LIBSOUP24_PRE_GNOME_OPTION!= \
if ${PKG_INFO} -qe 'libsoup24<=2.28.2'; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
pkgbase := libsoup24
.include "../../mk/pkg-build-options.mk"
.if ${_LIBSOUP24_PRE_GNOME_OPTION} == "yes" || !empty(PKG_BUILD_OPTIONS.libsoup24:Mgnome)
.include "../../security/libgnome-keyring/buildlink3.mk"
.endif
.endif # LIBSOUP24_BUILDLINK3_MK
BUILDLINK_TREE+= -libsoup24