Skip to content

Commit

Permalink
dcm2niix: Fix openjpeg usage; add batch tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
eborisch committed Dec 10, 2024
1 parent 69668d0 commit 6c71c48
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions science/dcm2niix/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PortGroup github 1.0
github.setup rordenlab dcm2niix 1.0.20241208 v
version ${github.version}

revision 0
revision 1

categories science
maintainers {eborisch @eborisch} openmaintainer
Expand Down Expand Up @@ -38,7 +38,8 @@ variant docs description {Install man pages} {

default_variants +docs

depends_lib-append port:openjpeg \
depends_lib-append port:yaml-cpp \
port:openjpeg \
port:zlib

depends_build-append port:pkgconfig
Expand All @@ -52,10 +53,11 @@ compiler.cxx_standard 2011

# Linking with yaml-cpp currently broken; haven't chased down; revisit later.
# Disabling BATCH_VERSION until this is resolved.
configure.args-append -DUSE_OPENJPEG=ON \
configure.args-append -DUSE_OPENJPEG=System \
-DBATCH_VERSION=OFF \
-DZLIB_IMPLEMENTATION=custom \
-DZLIB_ROOT=${prefix}
-DZLIB_IMPLEMENTATION=System \
-DYAML-CPP_IMPLEMENTATION=System \
-DBATCH_VERSION=ON


# cmake re-runs during build; retain configured CC and CXX (Only an issue in
Expand Down

0 comments on commit 6c71c48

Please sign in to comment.