[140567] trunk/dports/graphics/dcmtk/Portfile

eborisch at macports.org eborisch at macports.org
Wed Sep 23 08:40:28 PDT 2015


Revision: 140567
          https://trac.macports.org/changeset/140567
Author:   eborisch at 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:
--------------
    trunk/dports/graphics/dcmtk/Portfile

Modified: trunk/dports/graphics/dcmtk/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150923/9f953f26/attachment.html>


More information about the macports-changes mailing list