[50851] trunk/dports/www/firefox-x11-devel/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon May 11 00:23:35 PDT 2009


Revision: 50851
          http://trac.macports.org/changeset/50851
Author:   jeremyhu at macports.org
Date:     2009-05-11 00:23:34 -0700 (Mon, 11 May 2009)
Log Message:
-----------
firefox-x11-devel: Fix destroot to create nss symlink for https to work right.

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

Modified: trunk/dports/www/firefox-x11-devel/Portfile
===================================================================
--- trunk/dports/www/firefox-x11-devel/Portfile	2009-05-11 07:22:09 UTC (rev 50850)
+++ trunk/dports/www/firefox-x11-devel/Portfile	2009-05-11 07:23:34 UTC (rev 50851)
@@ -272,13 +272,13 @@
     move ${destroot}${prefix}/bin/firefox ${destroot}${prefix}/bin/${pkg_name}
     if {![variant_isset internal_dependencies]} {
 	ln -s ${pkg_name} ${destroot}${prefix}/bin/firefox
+
+	# Workaround to get root certs loaded, so https:// works
+    	ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib
+    } else {
+	# https://bugzilla.mozilla.org/show_bug.cgi?id=486064
+	system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${pkg_name}/unstable/gfxtypes.h"
     }
-
-    ## Workaround to get root certs loaded, so https:// works
-    #ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib
-
-    # https://bugzilla.mozilla.org/show_bug.cgi?id=486064
-    #system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${pkg_name}/unstable/gfxtypes.h"
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090511/60c2bd4a/attachment.html>


More information about the macports-changes mailing list