diff options
author | gdt <gdt> | 2006-06-11 14:17:30 +0000 |
---|---|---|
committer | gdt <gdt> | 2006-06-11 14:17:30 +0000 |
commit | 46eebca9f2b06a8584584d6bdb02bbd7c1357d69 (patch) | |
tree | c01fe612dd806200f3b8e1974bf63195e581fba1 /graphics | |
parent | 052548991bcba82ee30eeed62e454ee5c80de293 (diff) | |
download | pkgsrc-46eebca9f2b06a8584584d6bdb02bbd7c1357d69.tar.gz |
optionize gimp.
bl3 gtk2 always; it's a direct dependency.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sane-frontends/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile index 8bf9bcec026..0736f6448a1 100644 --- a/graphics/sane-frontends/Makefile +++ b/graphics/sane-frontends/Makefile @@ -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 @@ BUILDLINK_API_DEPENDS.sane+= sane-backends>=${SANE_VERSION} USE_X11BASE= YES -.include "../../graphics/sane-backends/buildlink3.mk" +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 "../../mk/bsd.pkg.mk" |