Revision
148203
Author
mmoll@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

Diff

Modified: trunk/dports/python/py-graph-tool/Portfile (148202 => 148203)


--- 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"  {