Make options optional.
switch lensfun option off by default as seems to cause segfaults. remove nonexistant marble option. Set build type to Debug to assist tracking down segfaults. Bump PKGREVISION.
This commit is contained in:
parent
e636dc5122
commit
ddece197bc
2 changed files with 12 additions and 8 deletions
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.93 2013/04/03 12:52:04 markd Exp $
|
||||
# $NetBSD: Makefile,v 1.94 2013/04/28 02:03:37 markd Exp $
|
||||
#
|
||||
|
||||
DISTNAME= digikam-3.1.0
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_KDE:=digikam/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
@ -21,6 +22,7 @@ REPLACE_PERL= core/utilities/scripts/digitaglinktree/digitaglinktree
|
|||
CMAKE_ARGS+= -DMYSQLD_PATH:PATH=${BUILDLINK_PREFIX.mysql-server}/libexec
|
||||
CMAKE_ARGS+= -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS:BOOL=OFF
|
||||
USE_TOOLS+= gawk msgfmt perl:run pkg-config
|
||||
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
|
|
|
@ -1,23 +1,25 @@
|
|||
# $NetBSD: options.mk,v 1.2 2012/03/21 21:14:47 markd Exp $
|
||||
# $NetBSD: options.mk,v 1.3 2013/04/28 02:03:38 markd Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.digikam
|
||||
PKG_SUPPORTED_OPTIONS= lensfun liblqr marble pim
|
||||
PKG_SUGGESTED_OPTIONS= lensfun liblqr marble pim
|
||||
PKG_SUPPORTED_OPTIONS= lensfun liblqr pim
|
||||
PKG_SUGGESTED_OPTIONS= lensfun liblqr pim
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mlensfun)
|
||||
.include "../../graphics/lensfun/buildlink3.mk"
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_LensFun:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mliblqr)
|
||||
.include "../../graphics/liblqr/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mmarble)
|
||||
.include "../../misc/marble/buildlink3.mk"
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_Lqr-1:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mpim)
|
||||
.include "../../misc/kdepimlibs4/buildlink3.mk"
|
||||
.else
|
||||
CMAKE_ARGS+= -DWITH_KdepimLibs:BOOL=OFF
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue