Re: Building ports with gcc46

2011-12-15 Thread Andrew W. Nosenko
On Thu, Dec 15, 2011 at 02:05, b. f. bf1...@googlemail.com wrote: If you are interested in applying them to a single port, use a test on .CURDIR, or, better yet, add the statement to any of the optional Makefiles that are automatically included by bsd.port.mk and were intended for that

Re: Building ports with gcc46

2011-12-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/15/11 9:37 AM, b. f. wrote: On 12/15/11, Andrew W. Nosenko andrew.w.nose...@gmail.com wrote: On Thu, Dec 15, 2011 at 02:05, b. f. bf1...@googlemail.com wrote: If you are interested in applying them to a single port, use a test on .CURDIR,

Re: Building ports with gcc46

2011-12-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/14/11 9:35 PM, Ali Mashtizadeh wrote: That gives the same error as the one of my previous attempts. Any help with this would be great. libtool: link: g++46 -D_THREAD_SAFE -pthread -Wall -Wwrite-strings -Woverloaded-virtual

Re: Building ports with gcc46

2011-12-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/14/11 1:44 PM, Ali Mashtizadeh wrote: Is there a way to build devel/protobuf with gcc46? Unfortunately I see a compatibility issue where the software I'm linking against it crashes because of the conflicting stdc++ librray versions. I've

Re: Building ports with gcc46

2011-12-14 Thread b. f.
Is there a way to build devel/protobuf with gcc46? Unfortunately I see a compatibility issue where the software I'm linking against it crashes because of the conflicting stdc++ librray versions. I've tried setting CC, CXX, LDFLAGS but I seem to be missing something else? Thanks, Hi

Re: Building ports with gcc46

2011-12-14 Thread Ali Mashtizadeh
That gives the same error as the one of my previous attempts. Any help with this would be great. libtool: link: g++46 -D_THREAD_SAFE -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -D_THREAD_SAFE -pthread