[148203] trunk/dports/python/py-graph-tool/Portfile

mmoll at macports.org mmoll at macports.org
Fri Apr 29 13:04:43 PDT 2016


Revision: 148203
          https://trac.macports.org/changeset/148203
Author:   mmoll at macports.org
Date:     2016-04-29 13:04:42 -0700 (Fri, 29 Apr 2016)
Log Message:
-----------
py-graph-tool: make sure libomp is installed at runtime, even if the compiler gets uninstalled

Modified Paths:
--------------
    trunk/dports/python/py-graph-tool/Portfile

Modified: trunk/dports/python/py-graph-tool/Portfile
===================================================================
--- trunk/dports/python/py-graph-tool/Portfile	2016-04-29 19:56:53 UTC (rev 148202)
+++ trunk/dports/python/py-graph-tool/Portfile	2016-04-29 20:04:42 UTC (rev 148203)
@@ -44,6 +44,8 @@
         configure.cxxflags-append -std=c++14 -stdlib=libc++
 
         variant openmp description "Enable OpenMP" {
+            # make sure libomp is installed at runtime, even if the compiler gets uninstalled
+            depends_lib-append    lib:lib/libomp/libomp.dylib:libomp
             configure.args-append --enable-openmp
         }
         variant clang37 requires openmp conflicts clang38 clang39 description "Use clang-3.7+openmp and enable OpenMP"  {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160429/c8cf0723/attachment.html>


More information about the macports-changes mailing list