Revision
140567
Author
eborisch@macports.org
Date
2015-09-23 08:40:28 -0700 (Wed, 23 Sep 2015)

Log Message

dcmtk: Fix 'port test' for out-of-source build.

Modified Paths

Diff

Modified: trunk/dports/graphics/dcmtk/Portfile (140566 => 140567)


--- trunk/dports/graphics/dcmtk/Portfile	2015-09-23 12:36:29 UTC (rev 140566)
+++ trunk/dports/graphics/dcmtk/Portfile	2015-09-23 15:40:28 UTC (rev 140567)
@@ -50,6 +50,9 @@
 cmake.out_of_source     yes
 
 compiler.blacklist      *gcc* {clang < 137}
+
+# There have been issues with build grabbing old headers from installed
+# version.
 conflicts_build         ${name}
 
 depends_lib             port:zlib \
@@ -127,7 +130,7 @@
 destroot.args           docdir=${prefix}/share/doc/${name}
 
 test.run                yes
-test.cmd                env DYLD_LIBRARY_PATH=${worksrcpath}/lib make
+test.cmd                env DYLD_LIBRARY_PATH=${cmake.build_dir}/lib make
 test.target             -j 1 test
 
 livecheck.type          regex