[MacPorts] #15925: refactor pgplot Portfile to remove PPC/i386 distinction and make gcc42 the default compiler
#15925: refactor pgplot Portfile to remove PPC/i386 distinction and make gcc42 the default compiler -------------------------------------+-------------------------------------- Reporter: davidh@ipac.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: pgplot Fortran | -------------------------------------+-------------------------------------- pgplot is written in Fortran, thus it needs a compiler built for it. The current Portfile has a PPC variant with the compiler set to gcc34/g77, and a i386 variant with the compiler set to gcc42/gfortran. g77 is a little outdated, and requires a gcc 3.x compiler to build. I have not been able to get g77 to build on 10.5.x. What I have done is to refactor the existing Portfile to remove the PPC/i386 dependencies so that pgplot compiles with gcc42/gfortran as a default variant, and gcc34/g77 is selectable as a variant for compatibility with existing installations. I have tested this Portfile on a PPC/10.4.11 system and on a i386 10.4.11 system. The existing patch files are unchanged. What is the process to put this refactored Portfile in the Macports repository? -- Ticket URL: <http://trac.macports.org/ticket/15925> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15925: refactor pgplot Portfile to remove PPC/i386 distinction and make gcc42 the default compiler --------------------------------------+------------------------------------- Reporter: davidh@ipac.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: pgplot Fortran --------------------------------------+------------------------------------- Changes (by jmr@macports.org): * milestone: => Port Enhancements Comment: Please post a unified diff between the current portfile and the new one. -- Ticket URL: <http://trac.macports.org/ticket/15925#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15925: refactor pgplot Portfile to remove PPC/i386 distinction and make gcc42 the default compiler --------------------------------------+------------------------------------- Reporter: davidh@ipac.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: pgplot Fortran --------------------------------------+------------------------------------- Comment (by davidh@ipac.caltech.edu): I added the file. Created with diff Portfile Portfile_new >Portfile.diff -- Ticket URL: <http://trac.macports.org/ticket/15925#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15925: refactor pgplot Portfile to remove PPC/i386 distinction and make gcc42 the default compiler --------------------------------------+------------------------------------- Reporter: davidh@ipac.caltech.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: pgplot Fortran --------------------------------------+------------------------------------- Comment (by raimue@macports.org): Unified diffs are preferred. Create them with `diff -u OLD NEW`. -- Ticket URL: <http://trac.macports.org/ticket/15925#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15925: refactor pgplot Portfile to remove PPC/i386 distinction and make gcc42 the default compiler --------------------------------------+------------------------------------- Reporter: davidh@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: pgplot Fortran Port: | --------------------------------------+------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: Alternate fix in r47644. -- Ticket URL: <http://trac.macports.org/ticket/15925#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts