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

mcalhoun at macports.org mcalhoun at macports.org
Sun Mar 29 17:30:34 PDT 2009


Revision: 48834
          http://trac.macports.org/changeset/48834
Author:   mcalhoun at macports.org
Date:     2009-03-29 17:30:34 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
nss: Ensure correct compilers are used.
Fixes #18922.

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

Modified: trunk/dports/net/nss/Portfile
===================================================================
--- trunk/dports/net/nss/Portfile	2009-03-30 00:19:05 UTC (rev 48833)
+++ trunk/dports/net/nss/Portfile	2009-03-30 00:30:34 UTC (rev 48834)
@@ -45,6 +45,12 @@
 		${worksrcpath}/mozilla/security/coreconf/Darwin.mk \
 		${worksrcpath}/mozilla/security/coreconf/UNIX.mk \
 		${worksrcpath}/mozilla/security/nss/lib/ckfw/builtins/config.mk
+        reinplace "s|= cc\$|= ${configure.cc}|" \
+		${worksrcpath}/mozilla/security/coreconf/Darwin.mk
+        reinplace "s|= c++\$|= ${configure.cxx}|" \
+		${worksrcpath}/mozilla/security/coreconf/Darwin.mk
+        reinplace "s|= ranlib\$|= /usr/bin/ranlib|" \
+		${worksrcpath}/mozilla/security/coreconf/Darwin.mk
 }
 
 build {system "cd ${worksrcdir} && make -C mozilla/security/coreconf/nsinstall && make -C mozilla/security/dbm && make -C mozilla/security/nss"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090329/5422e50e/attachment.html>


More information about the macports-changes mailing list