[MacPorts] #26503: New port portfile: gprolog-devel
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- New port portfile for the development version of GNU Prolog 1.4.0. -- Ticket URL: <https://trac.macports.org/ticket/26503> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): Regarding the line "configure.build_arch i386", please confirm: this version does not work on PowerPC computers or when built 64-bit Intel, but version 1.3.1 (in the gprolog port) did? -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by pmoura@…): All GNU Prolog versions only support 32 bit on MacOS X. -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by jmr@…): Replying to [comment:2 pmoura@…]:
All GNU Prolog versions only support 32 bit on MacOS X. I think what Ryan's getting at is that ppc is 32-bit too.
-- Ticket URL: <https://trac.macports.org/ticket/26503#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by pmoura@…): Replying to [comment:3 jmr@…]:
Replying to [comment:2 pmoura@…]:
All GNU Prolog versions only support 32 bit on MacOS X. I think what Ryan's getting at is that ppc is 32-bit too.
I completely forgot about PowerPC, which is also supported by GNU Prolog. So, the question is, what the best way to specify in the portfile that GNU Prolog can only be built on either ppc or i386? -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by pmoura@…): Found this code snippet in other portfile: {{{ if {$build_arch == "x86_64"} { configure.build_arch i386 } elseif {$build_arch == "ppc64"} { configure.build_arch ppc } }}} Assuming this is the recommended solution, I will submit a new version of the portfile next. -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): That snippet is out of date; the new way to do that is: {{{ supported_archs i386 ppc }}} And what I was also getting at is that if all versions of GNU prolog only support 32-bit, then this snippet belongs in the gprolog port, too. -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by pmoura@…): Replying to [comment:6 ryandesign@…]:
That snippet is out of date; the new way to do that is: {{{ supported_archs i386 ppc }}} And what I was also getting at is that if all versions of GNU prolog only support 32-bit, then this snippet belongs in the gprolog port, too.
Yes, although I have not yet updated the "gprolog" portfile in order to try it. I hope to do that tomorrow. If all goes well, I will submit updated portfiles for both "gprolog" and "gprolog-devel". Thanks for your support. -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): Replying to [comment:6 ryandesign@…]:
That snippet is out of date
I've removed that kind of usage from ports that still used it and replaced it with supported_archs in r71610. -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by ryandesign@…): Replying to [comment:7 pmoura@…]:
I have not yet updated the "gprolog" portfile in order to try it I tried back-porting the relevant lines from the new version's configure.in, but 1.3.1 still wouldn't build on Snow Leopard for me.
-- Ticket URL: <https://trac.macports.org/ticket/26503#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by pmoura@…): Replying to [comment:9 ryandesign@…]:
Replying to [comment:7 pmoura@…]:
I have not yet updated the "gprolog" portfile in order to try it I tried back-porting the relevant lines from the new version's configure.in, but 1.3.1 still wouldn't build on Snow Leopard for me.
Same experience here. But this is not something that we can fix in a portfile. GNU Prolog generates native code and the support necessary for compiling it on 10.6 simply is not there. I could submit a new portfile for "gprolog" that could be used for users of older MacOS X versions but I think most of them will be better served by installing "gprolog-devel". It seems quite stable. The final version of GNU Prolog 1.4.0 is due soon. At the time, I will submit an updated portfile for "gprolog". -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Comment(by pmoura@…): P.S. Just updated the "gprolog-devel" portfile to use: {{{ supported_archs i386 ppc }}} I think that is ready to be committed :-) -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel --------------------------------+------------------------------------------- Reporter: pmoura@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: maintainer | Port: gprolog-devel --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… Comment: Thanks, I'll commit it, with the exception that I won't add "use_configure yes" since that is the default. -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26503: New port portfile: gprolog-devel ---------------------------------+------------------------------------------ Reporter: pmoura@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: maintainer haspatch Port: gprolog-devel | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * keywords: maintainer => maintainer haspatch * status: assigned => closed * resolution: => fixed Comment: r74327 -- Ticket URL: <https://trac.macports.org/ticket/26503#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts