[139987] trunk/dports/lang/libomp/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Sep 4 22:17:19 PDT 2015


> On Sep 4, 2015, at 10:52 PM, eborisch at macports.org wrote:
> 
> Revision
> 139987
> Author
> eborisch at macports.org
> Date
> 2015-09-04 20:52:49 -0700 (Fri, 04 Sep 2015)
> Log Message
> 
> libomp: Update to latest; move installs into (include|lib)/libomp to facilitate clang modifications for -fopenmp. Add +top_level variant for users who want them in include/ and lib/ directly.

> Modified: trunk/dports/lang/libomp/Portfile (139986 => 139987)

> +    if [variant_isset top_level] {
> +        system -W ${instdest}/include \
> +          "ln -s libomp/omp.h"
> +        foreach p {libiomp5.dylib libomp.dylib libgomp.dylib} {
> +            system -W ${instdest}/lib/ \
> +              "ln -s libomp/${p}"
> +        }
> +    }

Please use the MacPorts "ln" Tcl command, rather than running the "ln" executable via "system".




More information about the macports-dev mailing list