git: c3ee823961ec - main - graphics/lensfun: add missing TEST_DEPENDS, amend SHEBANG_FILES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Sep 2026 15:30:33 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c3ee823961ec7fa2c2de5ec443f1aee790b55ac3
commit c3ee823961ec7fa2c2de5ec443f1aee790b55ac3
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-09-30 15:28:32 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-09-30 15:28:32 +0000
graphics/lensfun: add missing TEST_DEPENDS, amend SHEBANG_FILES
Fix a minor mistake made in the previously committed patch: because
path is PREFIX-relative, it could be spelled simply as "DESTINATION
libdata/pkgconfig" which makes the line shorter and more readable.
---
graphics/lensfun/Makefile | 3 ++-
graphics/lensfun/files/patch-libs_lensfun_CMakeLists.txt | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile
index 2cc2586f0f26..9e3552f22a6a 100644
--- a/graphics/lensfun/Makefile
+++ b/graphics/lensfun/Makefile
@@ -18,11 +18,12 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/docs/lgpl-3.0.txt
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/docs/cc-by-sa-3.0.txt
LIB_DEPENDS= libpng.so:graphics/png
+TEST_DEPENDS= xmllint:textproc/libxml2
USES= cmake compiler:c++11-lang gettext-runtime gnome \
pkgconfig shebangfix
SHEBANG_FILES= apps/lensfun-add-adapter apps/lensfun-convert-lcp \
- apps/lensfun-update-data
+ apps/lensfun-update-data tools/check_database/check_database.py
USE_GNOME= glib20
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DBUILD_LENSTOOL:BOOL=ON
diff --git a/graphics/lensfun/files/patch-libs_lensfun_CMakeLists.txt b/graphics/lensfun/files/patch-libs_lensfun_CMakeLists.txt
index 485b84bc9879..06a02b599289 100644
--- a/graphics/lensfun/files/patch-libs_lensfun_CMakeLists.txt
+++ b/graphics/lensfun/files/patch-libs_lensfun_CMakeLists.txt
@@ -17,5 +17,5 @@
# pkgconfig support
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/lensfun.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/lensfun.pc @ONLY)
-INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/lensfun.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig )
-+INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/lensfun.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig )
++INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/lensfun.pc DESTINATION libdata/pkgconfig)