diff options
author | dsainty <dsainty@pkgsrc.org> | 2008-05-06 13:25:14 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2008-05-06 13:25:14 +0000 |
commit | 88259b44f9857249583a99ca77245bf63cc7e1bd (patch) | |
tree | 43c63aa1bf93508ddfb38794b8f975ba8adf3171 | |
parent | 996569f9cc57582bfe833dba10e227dc5ca0aa74 (diff) | |
download | pkgsrc-88259b44f9857249583a99ca77245bf63cc7e1bd.tar.gz |
If Gimp is built without the aalib option, don't buildlink aalib. This is
especially critical if aalib isn't actually installed on the building system!
Fixes builds of Gimp plug-ins where PKG_DEFAULT_OPTIONS+=-aalib
XXX There are a few other options here that should get the same treatment.
-rw-r--r-- | graphics/gimp/buildlink3.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/gimp/buildlink3.mk b/graphics/gimp/buildlink3.mk index 58e92935948..3f7d35bd5df 100644 --- a/graphics/gimp/buildlink3.mk +++ b/graphics/gimp/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.24 2008/03/06 14:53:50 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.25 2008/05/06 13:25:14 dsainty Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GIMP_BUILDLINK3_MK:= ${GIMP_BUILDLINK3_MK}+ @@ -17,9 +17,15 @@ BUILDLINK_ABI_DEPENDS.gimp+= gimp>=2.4.4 BUILDLINK_PKGSRCDIR.gimp?= ../../graphics/gimp .endif # GIMP_BUILDLINK3_MK +pkgbase := gimp +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.gimp:Maalib) +.include "../../graphics/aalib/buildlink3.mk" +.endif + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" -.include "../../graphics/aalib/buildlink3.mk" .include "../../graphics/lcms/buildlink3.mk" .include "../../graphics/libart/buildlink3.mk" .include "../../graphics/libexif/buildlink3.mk" |