[MacPorts] #42048: apple-gcc42: simplify port
#42048: apple-gcc42: simplify port --------------------------+------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: haspatch | Port: apple-gcc42 --------------------------+------------------------- This patch simplifies the apple-gcc42 port a bit. It still builds ok for me. -- Ticket URL: <https://trac.macports.org/ticket/42048> MacPorts <http://www.macports.org/> Ports system for OS X
#42048: apple-gcc42: simplify port ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: apple-gcc42 | ---------------------------+------------------------ Comment (by jeremyhu@…): That looks like an improvement to me, please push it. The only thing I'm seeing as a possible concern is the removal of: {{{ LIBRARY_PATH="/usr/lib" \ CPATH="/usr/include" \ }}} I seem to recall there was a reason for those, but I can't remember. If it "works for you" I'm fine removing them. We can always revise it in the future if there was a valid reason for them. -- Ticket URL: <https://trac.macports.org/ticket/42048#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42048: apple-gcc42: simplify port ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: apple-gcc42 | ---------------------------+------------------------ Comment (by ryandesign@…): MacPorts base automatically sets CPATH and LIBRARY_PATH to the values of configure.cpath and configure.library_path, respectively, in all phases. See [browser:trunk/base/src/port1.0/portutil.tcl?rev=115640#L426 proc command_exec in portutil.tcl]. -- Ticket URL: <https://trac.macports.org/ticket/42048#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42048: apple-gcc42: simplify port ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: apple-gcc42 | ---------------------------+------------------------ Comment (by jeremyhu@…): Those are probably remnants of a bygone era then. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/42048#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42048: apple-gcc42: simplify port ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: apple-gcc42 | ---------------------------+------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:1 jeremyhu@…]:
That looks like an improvement to me, please push it.
r115647 I was also going to ask about: {{{ # Needed for gfortran: #files/other_langs.patch: #+ --with-gmp=$DEST_ROOT \ #+ --with-mpfr=$DEST_ROOT \ #depends_lib port:gmp port:mpfr }}} Should that move into the non-bootstrap section too? It's commented out so it doesn't matter. Do you still have any plans for adding gfortran to this port? Seems unnecessary, since Apple GCC never shipped with that. -- Ticket URL: <https://trac.macports.org/ticket/42048#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42048: apple-gcc42: simplify port ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: apple-gcc42 | ---------------------------+------------------------ Comment (by jeremyhu@…): I had plans for that a long time ago, but I don't any more. If someone wants to make a fortran compiler that understands multiple -arch arguments, it'd be more worthwhile to update the newer gcc ports to build the driver driver than spend time on gcc-apple-4.2. We can nuke that to save bits. -- Ticket URL: <https://trac.macports.org/ticket/42048#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts