[136577] trunk/dports/net/nss/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu May 21 20:18:36 PDT 2015


Revision: 136577
          https://trac.macports.org/changeset/136577
Author:   ryandesign at macports.org
Date:     2015-05-21 20:18:36 -0700 (Thu, 21 May 2015)
Log Message:
-----------
nss: use expand operator instead of eval

Modified Paths:
--------------
    trunk/dports/net/nss/Portfile

Modified: trunk/dports/net/nss/Portfile
===================================================================
--- trunk/dports/net/nss/Portfile	2015-05-22 03:15:31 UTC (rev 136576)
+++ trunk/dports/net/nss/Portfile	2015-05-22 03:18:36 UTC (rev 136577)
@@ -69,15 +69,15 @@
 
 destroot {
     xinstall -m 755 -d ${destroot}${prefix}/include/nss
-    eval xinstall -m 755 [glob ${worksrcpath}/mozilla/dist/public/nss/*] ${destroot}${prefix}/include/nss
-    eval xinstall -m 755 [glob ${worksrcpath}/mozilla/dist/public/dbm/*] ${destroot}${prefix}/include/nss
+    xinstall -m 755 {*}[glob ${worksrcpath}/mozilla/dist/public/nss/*] ${destroot}${prefix}/include/nss
+    xinstall -m 755 {*}[glob ${worksrcpath}/mozilla/dist/public/dbm/*] ${destroot}${prefix}/include/nss
     xinstall -m 755 -d ${destroot}${prefix}/bin
     foreach f [glob ${worksrcpath}/mozilla/dist/Darwin*/bin/*] {
         xinstall -m 755 $f ${destroot}${prefix}/bin/nss-[file tail $f]
     }
     xinstall -m 755 -d ${destroot}${prefix}/lib/nss
-    eval xinstall -m 755 [glob ${worksrcpath}/mozilla/dist/Darwin*/lib/*.dylib] ${destroot}${prefix}/lib/nss
-    eval xinstall -m 644 [glob ${worksrcpath}/mozilla/dist/Darwin*/lib/libcrmf.a] ${destroot}${prefix}/lib/nss
+    xinstall -m 755 {*}[glob ${worksrcpath}/mozilla/dist/Darwin*/lib/*.dylib] ${destroot}${prefix}/lib/nss
+    xinstall -m 644 {*}[glob ${worksrcpath}/mozilla/dist/Darwin*/lib/libcrmf.a] ${destroot}${prefix}/lib/nss
 
     xinstall -m 755 -d ${destroot}${prefix}/lib/pkgconfig
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150521/160500b9/attachment.html>


More information about the macports-changes mailing list