cvs commit: ports/www/firefox3 Makefile ports/www/firefox3/files patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in

Ed Schouten ed at FreeBSD.org
Mon Nov 3 23:15:52 PST 2008


ed          2008-11-04 07:15:51 UTC

  FreeBSD ports repository (src committer)

  Modified files:
    www/firefox3         Makefile 
    www/firefox3/files   
                         patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in 
  Log:
  Make www/firefox3 work on PowerPC.
  
  There were two things that prevented this port from compiling properly
  on PowerPC:
  
  - The `pthread hack' (GECKO_PTHREAD_LIBS) tried to obtain -lpthread from
    the gcc dumpspecs output. It expects these compiler flags to be on the
    first line of output, while on PowerPC the flags are on the second
    line.
  
  - On FreeBSD/powerpc it needs to use the Linux xptcall wrappers.
  
  I am not entirely convinced that it works properly, though. I've seen
  Firefox crash inside pthread_mutex_lock during shutdown. I'm committing
  these patches anyway, because getting it to compile is already a step
  forward.
  
  Approved by:    marcus
  
  Revision  Changes    Path
  1.7       +1 -1      ports/www/firefox3/Makefile
  1.2       +24 -15    ports/www/firefox3/files/patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in


More information about the cvs-ports mailing list