Skip to content
Permalink
Browse files

dcmtk: avoid conflict with CharLS port

dcmtk installs its own version of CharLS library.
  • Loading branch information
MarcusCalhoun-Lopez authored and eborisch committed Jun 28, 2019
1 parent 78df944 commit c428369fe630ad427ce564bde887d5880daa09d8
Showing with 8 additions and 1 deletion.
  1. +8 −1 graphics/dcmtk/Portfile
@@ -9,7 +9,7 @@ PortGroup github 1.0

github.setup DCMTK dcmtk 3.6.4 DCMTK-

revision 3
revision 4
set unpatched_version [lindex [split ${version} _] 0]
set stripped_version [string map {. ""} ${unpatched_version}]
categories graphics
@@ -130,6 +130,13 @@ if {[variant_isset doc]} {

destroot.args docdir=${prefix}/share/doc/${name}

post-destroot {
# avoid conflict with other MacPorts libraries
foreach lib {charls} {
delete ${destroot}${prefix}/lib/lib${lib}.dylib
}
}

test.run yes
test.cmd env DYLD_LIBRARY_PATH=${cmake.build_dir}/lib make
test.target -j 1 test

0 comments on commit c428369

Please sign in to comment.
You can’t perform that action at this time.