[49099] trunk/dports/www/firefox-x11/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 3 16:29:38 PDT 2009


Revision: 49099
          http://trac.macports.org/changeset/49099
Author:   jeremyhu at macports.org
Date:     2009-04-03 16:29:37 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
firefox-x11: workaround the missing root certs issue for https

Modified Paths:
--------------
    trunk/dports/www/firefox-x11/Portfile

Modified: trunk/dports/www/firefox-x11/Portfile
===================================================================
--- trunk/dports/www/firefox-x11/Portfile	2009-04-03 22:54:08 UTC (rev 49098)
+++ trunk/dports/www/firefox-x11/Portfile	2009-04-03 23:29:37 UTC (rev 49099)
@@ -6,7 +6,7 @@
 name            firefox-x11
 categories      www x11
 version         3.0.8
-revision        2
+revision        3
 platforms       darwin
 maintainers     jeremyhu openmaintainer
 description     Mozilla.org's popular stand-alone web browser
@@ -103,7 +103,8 @@
 	--disable-updater \
 	--disable-pedantic \
 	--disable-tests \
-	--disable-mochitest
+	--disable-mochitest \
+	--enable-libxul
 
 #	--with-libxul-sdk=${prefix}/lib/xulrunner
 
@@ -113,7 +114,7 @@
                             --enable-optimize='-O2' \
                             --enable-strip
 
-    configure.args-append   --enable-debug \
+    configure.args-append   --enable-debug='-ggdb3' \
                             --enable-mochitest \
                             --disable-optimize \
                             --disable-strip
@@ -146,6 +147,11 @@
 
     # Set the right install_name on the libs
     reinplace "s:@executable_path:${prefix}/lib/${name}:g" ${worksrcpath}/config/rules.mk
+    reinplace "s:@executable_path:${prefix}/lib/${name}:g" ${worksrcpath}/config/config.mk
+    reinplace "s:@executable_path:${prefix}/lib/${name}:g" ${worksrcpath}/nsprpub/configure.in
+    reinplace "s:@executable_path:${prefix}/lib/${name}:g" ${worksrcpath}/nsprpub/configure
+    reinplace "s:@executable_path:${prefix}/lib/${name}:g" ${worksrcpath}/security/coreconf/Darwin.mk
+    reinplace "s:@executable_path:${prefix}/lib/${name}:g" ${worksrcpath}/security/nss/lib/freebl/config.mk
 }
 
 configure.env \
@@ -181,6 +187,9 @@
     copy \
         ${filespath}/share-applications-firefox.desktop \
         ${destroot}${prefix}/share/applications/firefox.desktop
+
+    # Workaround to get root certs loaded, so https:// works
+    ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${name}/libnssckbi.dylib
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/bf099b68/attachment.html>


More information about the macports-changes mailing list