pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gimp-ufraw odd an option to pull in "lensfun"...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b092c9bc057e
branches:  trunk
changeset: 562488:b092c9bc057e
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Jul 29 17:49:41 2009 +0000

description:
odd an option to pull in "lensfun" to correct lens distortions;
this is experimental, thus off per default
approved by gdt The Maintainer

diffstat:

 graphics/gimp-ufraw/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 526f533be598 -r b092c9bc057e graphics/gimp-ufraw/Makefile
--- a/graphics/gimp-ufraw/Makefile      Wed Jul 29 17:45:59 2009 +0000
+++ b/graphics/gimp-ufraw/Makefile      Wed Jul 29 17:49:41 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2009/07/22 09:01:32 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2009/07/29 17:49:41 drochner Exp $
 
 DISTNAME=              ufraw-0.15
 PKGNAME=               gimp-${DISTNAME}
@@ -28,6 +28,14 @@
 GCC_REQD+=             3.0
 BUILDLINK_TRANSFORM+=  rm:-std=gnu99
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.ufraw
+PKG_SUPPORTED_OPTIONS= lensfun
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mlensfun)
+CONFIGURE_ARGS+=       --with-lensfun
+.include "../../graphics/lensfun/buildlink3.mk"
+.endif
+
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../devel/GConf/schemas.mk"
 .include "../../graphics/exiv2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index