diff options
author | obache <obache@pkgsrc.org> | 2011-05-17 11:34:04 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-05-17 11:34:04 +0000 |
commit | 693dbd856ca9dbe167307f48d0cc3bef80ff247b (patch) | |
tree | d2f8ded5a07884a3cd41dfdf4d6032f9f1506860 /graphics/GraphicsMagick | |
parent | 0e76bedca9d27579ce3804a7c1738b8e25128b0f (diff) | |
download | pkgsrc-693dbd856ca9dbe167307f48d0cc3bef80ff247b.tar.gz |
fixes buildlink with pre x11 option GraphicsMagick.
Diffstat (limited to 'graphics/GraphicsMagick')
-rw-r--r-- | graphics/GraphicsMagick/buildlink3.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/GraphicsMagick/buildlink3.mk b/graphics/GraphicsMagick/buildlink3.mk index 5d3509d2c45..79d50eb64dc 100644 --- a/graphics/GraphicsMagick/buildlink3.mk +++ b/graphics/GraphicsMagick/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.17 2011/05/16 01:18:54 dmcmahill Exp $ +# $NetBSD: buildlink3.mk,v 1.18 2011/05/17 11:34:04 obache Exp $ BUILDLINK_TREE+= GraphicsMagick @@ -9,6 +9,15 @@ BUILDLINK_API_DEPENDS.GraphicsMagick+= GraphicsMagick>=1.2 BUILDLINK_ABI_DEPENDS.GraphicsMagick?= GraphicsMagick>=1.3.12nb4 BUILDLINK_PKGSRCDIR.GraphicsMagick?= ../../graphics/GraphicsMagick +.include "../../mk/bsd.fast.prefs.mk" + +_GM_PRE_X11_OPTION!= \ + if ${PKG_INFO} -qe 'GraphicsMagick<=1.3.12nb4'; then \ + ${ECHO} yes; \ + else \ + ${ECHO} no; \ + fi + pkgbase := GraphicsMagick .include "../../mk/pkg-build-options.mk" @@ -21,7 +30,7 @@ pkgbase := GraphicsMagick .if !empty(PKG_BUILD_OPTIONS.GraphicsMagick:Mwmf) .include "../../graphics/libwmf/buildlink3.mk" .endif -.if !empty(PKG_BUILD_OPTIONS.GraphicsMagick:Mx11) +.if ${_GM_PRE_X11_OPTION} == "yes" || !empty(PKG_BUILD_OPTIONS.GraphicsMagick:Mx11) .include "../../x11/libSM/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" |