Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 02:28:31 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, cvs-all@FreeBSD.org, Philip Paeps <philip@FreeBSD.org>
Subject:   Re: cvs commit: ports/games/wesnoth-devel Makefile distinfo pkg-plist ports/games/wesnoth-devel/files patch-multiplayer_connect.cpp
Message-ID:  <alpine.LSU.1.99.0910072345270.22367@acrux.dbai.tuwien.ac.at>
In-Reply-To: <864oqj5pn3.fsf@gmail.com>
References:  <200910010928.n919SgXn083437__14633.0125666738$1254389375$gmane$org@repoman.freebsd.org> <864oqj5pn3.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.1.99.0910072345270.22367>