git: 32b965a00ecb - main - science/orthanc: Use unversioned dcmtk DATADIR

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Sat, 28 Mar 2026 22:36:09 UTC
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32b965a00ecbe2fe776a8609edf1c4224916e870

commit 32b965a00ecbe2fe776a8609edf1c4224916e870
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2026-03-28 22:29:47 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2026-03-28 22:29:47 +0000

    science/orthanc: Use unversioned dcmtk DATADIR
    
    The dcmtk port's DATADIR includes PKGVERSION in the directory
    name, e.g. PREFIX/share/dcmtk-3.7.0.  Starting with dcmtk-3.7.0_1,
    a symlink to PREFIX/share/dcmtk is also installed, so that consumers
    like orthanc, which need to access the dcmtk dictionary files, won't
    break every time dcmtk is upgraded.
    
    This commit removes the dcmtk version from the orthanc config to
    use the symlink and avoid future breakage.
---
 science/orthanc/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/science/orthanc/Makefile b/science/orthanc/Makefile
index 32097e8ad898..3eedd07bcf12 100644
--- a/science/orthanc/Makefile
+++ b/science/orthanc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	orthanc
 DISTVERSION=	${ORTHANC_VER}	# version.mk
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	science
 MASTER_SITES=	https://orthanc.uclouvain.be/downloads/sources/orthanc/
 DISTNAME=	Orthanc-${PORTVERSION}
@@ -13,7 +13,8 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	protoc:devel/protobuf \
-		googletest>0:devel/googletest
+		googletest>0:devel/googletest \
+		dcmtk>=3.7.0_1:graphics/dcmtk
 LIB_DEPENDS=	libboost_atomic.so:devel/boost-libs \
 		libcivetweb.so:www/civetweb \
 		libcurl.so:ftp/curl \
@@ -28,8 +29,7 @@ USES=		cmake gnome iconv jpeg lua python:build sqlite ssl
 
 USE_RC_SUBR=	orthanc
 
-# Keep in sync with graphics/dcmtk version
-CMAKE_ARGS=	-DDCMTK_DICTIONARY_DIR:STRING=${LOCALBASE}/share/dcmtk-3.6.9
+CMAKE_ARGS=	-DDCMTK_DICTIONARY_DIR:STRING=${LOCALBASE}/share/dcmtk
 CMAKE_ON=	USE_SYSTEM_BOOST USE_SYSTEM_CIVETWEB USE_SYSTEM_DCMTK \
 		USE_SYSTEM_GOOGLE_TEST USE_SYSTEM_JSONCPP USE_SYSTEM_LIBICONV \
 		USE_SYSTEM_LIBJPEG USE_SYSTEM_LIBPNG USE_SYSTEM_LUA \