summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-09-10 06:33:09 +0000
committerwiz <wiz@pkgsrc.org>2022-09-10 06:33:09 +0000
commitdc111835fd94531596cb0af7cf5d992e8e5311af (patch)
tree81a0b7ff2511cd0a7540e790984e91c8df916966 /graphics
parent8ec64cef09f0547f5cd4ec6a3c3f2785688c9e11 (diff)
downloadpkgsrc-dc111835fd94531596cb0af7cf5d992e8e5311af.tar.gz
exiv2: turn on BMFF support
Fix pkg-config file while here. Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/exiv2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile
index ddc982ab773..9dae09e97ad 100644
--- a/graphics/exiv2/Makefile
+++ b/graphics/exiv2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.49 2022/04/23 20:25:38 tnn Exp $
+# $NetBSD: Makefile,v 1.50 2022/09/10 06:33:09 wiz Exp $
DISTNAME= exiv2-0.27.5-Source
PKGNAME= ${DISTNAME:S/-Source//}
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=Exiv2/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}
@@ -21,6 +22,8 @@ GCC_REQD+= 3.3
.include "../../mk/bsd.prefs.mk"
CMAKE_ARGS+= -DEXIV2_BUILD_SAMPLES:BOOL=OFF
+# turn on BMFF support -- will be default as of 1.00
+CMAKE_ARGS+= -DEXIV2_ENABLE_BMFF:BOOL=ON
.if ${OPSYS} == "Darwin"
CMAKE_ARGS+= -DIntl_INCLUDE_DIR=${BUILDLINK_PREFIX.gettext}/include
.endif
@@ -30,8 +33,7 @@ LDFLAGS.SunOS+= -lsocket -lnsl
CXXFLAGS.SunOS+= -fPIC
-USE_PKGLOCALEDIR= yes
-PKGCONFIG_OVERRIDE= config/exiv2.pc.in
+PKGCONFIG_OVERRIDE= cmake/exiv2.pc.in
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"