Opened 12 years ago

Closed 12 years ago

#36064 closed defect (fixed)

mldonkey fails to build with lablgtk2 2.16.0_2 +rsvg

Reported by: gruber.mathias@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: mldonkey

Description

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.

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; lablgtk2 removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.