From 1deef273ae43e8c604dd6beb76797bb0eaf9b84a Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 29 Jul 2009 17:49:41 +0000 Subject: odd an option to pull in "lensfun" to correct lens distortions; this is experimental, thus off per default approved by gdt The Maintainer --- graphics/gimp-ufraw/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/gimp-ufraw/Makefile b/graphics/gimp-ufraw/Makefile index 77076a464c3..96a2d4a0e10 100644 --- a/graphics/gimp-ufraw/Makefile +++ b/graphics/gimp-ufraw/Makefile @@ -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 @@ PTHREAD_AUTO_VARS= yes 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" -- cgit v1.2.3