pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gimp If Gimp is built without the aalib optio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f958b7988202
branches:  trunk
changeset: 542177:f958b7988202
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Tue May 06 13:25:14 2008 +0000

description:
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.

diffstat:

 graphics/gimp/buildlink3.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5e825dbf5c67 -r f958b7988202 graphics/gimp/buildlink3.mk
--- a/graphics/gimp/buildlink3.mk       Tue May 06 09:54:33 2008 +0000
+++ b/graphics/gimp/buildlink3.mk       Tue May 06 13:25:14 2008 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index