[MacPorts] #15921: UPDATE: redland-bindings-1.0.8.1
#15921: UPDATE: redland-bindings-1.0.8.1 --------------------------------+------------------------------------------- Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- Please find attached a diff to bring redland-bindings portfile to version 1.0.8.1. This version solves some problems when compiling Redland bindings for Python (related to http://trac.macports.org/ticket/13838). Requires latest versions of redland 1.0.8 (http://trac.macports.org/ticket/15918) which depends on rasqal 0.9.16 (http://trac.macports.org/ticket/15917). Please note that 1.0.8.1 only builds with Python 2.4 or higher which is why the patch also changes dependency from python23 to python25. -- Ticket URL: <http://trac.macports.org/ticket/15921> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15921: UPDATE: redland-bindings-1.0.8.1 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by raimue@macports.org): #15918 and #15917 are committed now. Hint: Use wiki syntax to link to tickets instead of links, this way they get marked as closed automatically. -- Ticket URL: <http://trac.macports.org/ticket/15921#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15921: UPDATE: redland-bindings-1.0.8.1 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by captsolo@gmail.com): There is a bug that Redland.so gets linked to the system Python instead of MarPorts one. This is not specific to just this version of the port but needs to be fixed anyway. Can be fixed by changing configure args for the Python variant (thanks to William Waites for suggesting how to fix it): {{{ configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Python" }}} I will attach an updated Portfile and its diff shortly. One quick question before doing this: currently this line uses an absolute path which is not very good. How can this line be rewritten in a more generic way so that it points to the correct framework even if MacPorts is installed elsewhere or if used together with other version of Python (e.g., 2.4)? -- Ticket URL: <http://trac.macports.org/ticket/15921#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15921: UPDATE: redland-bindings-1.0.8.1 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by macsforever2000@macports.org): You can at least change it as follows: {{{ configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python" }}} Also you should make variants for different versions of python. So this variant should be called "python25". The current "python" variant should work with Python 2.4 and the line can look like this: {{{ configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python" }}} The same variant names should be applied to the php and perl ones too. I.e "perl5.8" instead of "perl" and "php5" instead of "php". HTH! -- Ticket URL: <http://trac.macports.org/ticket/15921#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15921: UPDATE: redland-bindings-1.0.8.1 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by captsolo@gmail.com): Thanks, macsforever2000. Added these changes to the portfile, the port should compile ok now. -- Ticket URL: <http://trac.macports.org/ticket/15921#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15921: UPDATE: redland-bindings-1.0.8.1 ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Updates Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * status: new => closed * resolution: => fixed Comment: Committed revision r38602. I also changed the variant names for php and perl to match the port names - i.e. 'php5' and 'perl5.8'. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/15921#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts