diff options
author | sno <sno@pkgsrc.org> | 2009-04-12 00:29:26 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-04-12 00:29:26 +0000 |
commit | 085dd4bff8c4fe0b5f7fe9fe40e64f37825a3c8a (patch) | |
tree | 84b6381cf3a213ec03c8677a286dcaf65e23f5fd /graphics/gd/buildlink3.mk | |
parent | f8b34fbce6e7525c29b01d65e03f9409a4dafb5c (diff) | |
download | pkgsrc-085dd4bff8c4fe0b5f7fe9fe40e64f37825a3c8a.tar.gz |
PkgSrc changes:
- allow optionally build a gd which supports xpm
Diffstat (limited to 'graphics/gd/buildlink3.mk')
-rw-r--r-- | graphics/gd/buildlink3.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/gd/buildlink3.mk b/graphics/gd/buildlink3.mk index 24382910cc6..be575648292 100644 --- a/graphics/gd/buildlink3.mk +++ b/graphics/gd/buildlink3.mk @@ -1,14 +1,23 @@ -# $NetBSD: buildlink3.mk,v 1.17 2009/03/20 19:24:38 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.18 2009/04/12 00:29:26 sno Exp $ BUILDLINK_TREE+= gd .if !defined(GD_BUILDLINK3_MK) GD_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.gd+= gd>=2.0.15nb1 +BUILDLINK_API_DEPENDS.gd+= gd>=2.0.15nb1 BUILDLINK_ABI_DEPENDS.gd+= gd>=2.0.33nb3 BUILDLINK_PKGSRCDIR.gd?= ../../graphics/gd +pkgbase := gd +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.gd:Mx11) +.include "../../x11/libXpm/buildlink3.mk" +#.include "../../x11/libXp/buildlink3.mk" +#.include "../../mk/xaw.buildlink3.mk" +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" |