pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/sane-frontends optionize gimp.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74f9878a81fe
branches:  trunk
changeset: 514374:74f9878a81fe
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Jun 11 14:17:30 2006 +0000

description:
optionize gimp.
bl3 gtk2 always; it's a direct dependency.

diffstat:

 graphics/sane-frontends/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e80373930ac7 -r 74f9878a81fe graphics/sane-frontends/Makefile
--- a/graphics/sane-frontends/Makefile  Sun Jun 11 14:11:12 2006 +0000
+++ b/graphics/sane-frontends/Makefile  Sun Jun 11 14:17:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/04/17 13:46:35 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2006/06/11 14:17:30 gdt Exp $
 
 .include "../../graphics/sane-backends/Makefile.common"
 
@@ -12,7 +12,15 @@
 
 USE_X11BASE=   YES
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.sane-frontends
+PKG_SUPPORTED_OPTIONS= gimp
+PKG_SUGGESTED_OPTIONS= gimp
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgimp)
+.include "../../graphics/gimp/buildlink3.mk"
+.endif
+.include "../../x11/gtk2/buildlink3.mk"
 .include "../../graphics/sane-backends/buildlink3.mk"
-.include "../../graphics/gimp/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index