Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2024 12:50:25 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 00901773e766 - 2024Q2 - graphics/libjxl: simplify plist updates
Message-ID:  <202406281250.45SCoPsh037436@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00901773e766617b243058ab1d676ff20a8ceb97

commit 00901773e766617b243058ab1d676ff20a8ceb97
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-06-27 16:46:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-06-28 03:58:53 +0000

    graphics/libjxl: simplify plist updates
    
    (cherry picked from commit fad385cf80b7dd41409f4cda5931008bb32bea8b)
---
 graphics/libjxl/Makefile  | 1 +
 graphics/libjxl/pkg-plist | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index cae984150510..0ba5904ed340 100644
--- a/graphics/libjxl/Makefile
+++ b/graphics/libjxl/Makefile
@@ -27,6 +27,7 @@ CMAKE_OFF=	${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/}
 CMAKE_OFF+=	${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg
 CMAKE_OFF+=	${CMAKE_TESTING_ON}
 LDFLAGS+=	-Wl,--as-needed # brotlicommon, OPENEXR/PNG deps
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 OPTIONS_DEFINE=	GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG
 OPTIONS_DEFAULT=GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG
diff --git a/graphics/libjxl/pkg-plist b/graphics/libjxl/pkg-plist
index 1ef7d9b49cff..d7d706b4e9aa 100644
--- a/graphics/libjxl/pkg-plist
+++ b/graphics/libjxl/pkg-plist
@@ -26,16 +26,16 @@ include/jxl/version.h
 %%PIXBUF%%lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-jxl.so
 lib/libjxl.so
 lib/libjxl.so.0.10
-lib/libjxl.so.0.10.2
+lib/libjxl.so.%%VERSION%%
 lib/libjxl_cms.so
 lib/libjxl_cms.so.0.10
-lib/libjxl_cms.so.0.10.2
+lib/libjxl_cms.so.%%VERSION%%
 lib/libjxl_extras_codec.so
 lib/libjxl_extras_codec.so.0.10
-lib/libjxl_extras_codec.so.0.10.2
+lib/libjxl_extras_codec.so.%%VERSION%%
 lib/libjxl_threads.so
 lib/libjxl_threads.so.0.10
-lib/libjxl_threads.so.0.10.2
+lib/libjxl_threads.so.%%VERSION%%
 libdata/pkgconfig/libjxl.pc
 libdata/pkgconfig/libjxl_cms.pc
 libdata/pkgconfig/libjxl_threads.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406281250.45SCoPsh037436>