cvs commit: ports/games/wesnoth-devel Makefile distinfo pkg-plist ports/games/wesnoth-devel/files patch-multiplayer_connect.cpp

Gerald Pfeifer gerald at pfeifer.com
Sat Oct 10 00:28:33 UTC 2009


On Thu, 1 Oct 2009, Anonymous wrote:
>>   While here:
>>   
>>     o Use GCC 4.2+ to fix build on 6.x
> I'm not sure using `+' is a good idea. I can compile it using g++42
> and g++43 but it fails on linking when using g++44[1] and g++45.

Looking at the failure mode you report, I wonder whether

  CFLAGS+=        -Wl,-rpath=${PREFIX}/lib/gcc44
  LDFLAGS+=       -Wl,-rpath=${PREFIX}/lib/gcc44

added to the Makefile works for you.  (This is not the proposed solution, 
it is a test, assuming you are using g++44, otherwise change the path to 
have gcc45 as its last component.)

Gerald


More information about the cvs-ports mailing list