[MacPorts] #36064: mldonkey fails to build with lablgtk2 2.16.0_2 +rsvg
MacPorts
noreply at macports.org
Sun Sep 9 08:33:47 PDT 2012
#36064: mldonkey fails to build with lablgtk2 2.16.0_2 +rsvg
--------------------------------------+-------------------------------------
Reporter: gruber.mathias@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: lablgtk2 | Port: mldonkey
--------------------------------------+-------------------------------------
When installing/updating mldonkey it issues a message:
{{{
mldonkey needs lablgtk2 to be installed with librsvg support.
Please rebuild lablgtk2 using the command:
sudo port upgrade --enforce-variants lablgtk2 +rsvg"
}}}
The problem is that lablgtk2 '''is already''' with the +rsvg option.
I fixed my problem changing line 51 of the Portfile
(/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/mldonkey/Portfile)
from:
{{{
if {![file exists ${prefix}/lib/ocaml/lablgtk2/lablrsvg.a]} {
}}}
to:
{{{
if {![file exists ${prefix}/lib/ocaml/site-lib/lablgtk2/lablrsvg.a]} {
}}}
Now it compiles and runs flawlessly.
--
Ticket URL: <https://trac.macports.org/ticket/36064>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list