pkgsrc/net/libsoup24/buildlink3.mk
2013-10-19 09:06:55 +00:00

33 lines
942 B
Makefile

# $NetBSD: buildlink3.mk,v 1.26 2013/10/19 09:06:56 adam 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.2nb4
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