Opened 12 years ago

Closed 6 years ago

#34447 closed defect (fixed)

freeciv 2.3.2 not compiling with global variants set to -x11 +no_x11

Reported by: philippe.bernery@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), pb.mosca@…
Port: freeciv

Description

freeciv 2.3.2 does not compile if global variants contains -x11 +no_x11.

It fails with the following error:

CCLD   freeciv-sdl

libtool: link: cannot find the library `/opt/local/lib/libXrandr.la' or unhandled argument `/opt/local/lib/libXrandr.la'

Installing xrandr then installing freeciv again makes freeciv compiles well.

I guess freeciv misses a dependency to xrandr (however I wonder why there are dependencies to X as freeciv is executing through SDL?).

Change History (2)

comment:1 Changed 12 years ago by pb.mosca@…

Cc: pb.mosca@… added

Cc Me!

comment:2 Changed 6 years ago by kencu (Ken)

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