diff options
author | obache <obache@pkgsrc.org> | 2010-03-27 01:40:22 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-03-27 01:40:22 +0000 |
commit | 400dbf634c1e115abb78520c0b97a8729568a930 (patch) | |
tree | c36fbaf1f402067bde461449133257e62fa95bc6 /net/libsoup24 | |
parent | e68c11cbbf2a16e4b7177d1f343ee80e1de2ea38 (diff) | |
download | pkgsrc-400dbf634c1e115abb78520c0b97a8729568a930.tar.gz |
improve buildlink with pre-gnome option.
Diffstat (limited to 'net/libsoup24')
-rw-r--r-- | net/libsoup24/buildlink3.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/libsoup24/buildlink3.mk b/net/libsoup24/buildlink3.mk index a31920f5694..7db10a363fb 100644 --- a/net/libsoup24/buildlink3.mk +++ b/net/libsoup24/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.9 2010/02/28 20:49:21 tonio Exp $ +# $NetBSD: buildlink3.mk,v 1.10 2010/03/27 01:40:22 obache Exp $ BUILDLINK_TREE+= libsoup24 @@ -16,10 +16,17 @@ BUILDLINK_PKGSRCDIR.libsoup24?= ../../net/libsoup24 .include "../../textproc/libxml2/buildlink3.mk" .include "../../www/libproxy/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 !empty(PKG_BUILD_OPTIONS.libsoup24:Mgnome) +.if ${_LIBSOUP24_PRE_GNOME_OPTION} == "yes" || !empty(PKG_BUILD_OPTIONS.libsoup24:Mgnome) .include "../../security/gnome-keyring/buildlink3.mk" .include "../../devel/GConf/buildlink3.mk" .endif |