Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2013 05:33:19 -0700 (PDT)
From:      Waitman Gobble <uzimac@da3m0n8t3r.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: graphics/rawtherapee 4.0.10 issue
Message-ID:  <20130428123319.0D31036F47BC@dx.burplex.com>

next in thread | raw e-mail | index | archive | help
On Sun, 28 Apr 2013 08:35:45 +0200, John Marino <freebsdml@marino.st> wrote:

>
>On 4/27/2013 22:31, Waitman Gobble wrote:
>> I have updated the port for rawtherapee 4.0.10, the new version is
totally
>> awesome..
>> There is one issue that I do not understand how to address in my port.
>>
>> Since rawtherapee uses OpenMP / libgomp it links to /usr/lib/libgomp.so
which
>> is from base gcc, and
>> too old. even if gcc4.6 is specified in the port it seems to link to gomp
in
>> /usr/lib..
>>
>> SO the question is, how do I address this issue in the port Makefile??
using
>> USE_GCC=4.6 does not seem to get it to link to the gcc4.6 libraries for
some
>> reason, I'm missing something.
>
> From a conceptual point of view, rawtherapee needs to set the runpath 
>of the executables (e.g. -Wl,-R<path>) to gcc46 library path during 
>linking.  And then remove any ldconfig directives in the makefile.
>
>You may be able to set this in LDFLAGS in the makefile, or you may have 
>to patch the rawtherepee makefile with a variable that the rawtherepee 
>makefile can substitute later with REINPLACE_CMD.  Obviously it needs to 
>work with gcc47, 48, etc. as well.
>
>(Sorry, I didn't actually look at any files, I'm just talking about 
>approaches and concepts.)
>
>John
>_______________________________________________
>freebsd-ports@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>


Thanks John, 
I agree it should be working with gcc47, 48. I'll try your suggestion.


--
Waitman Gobble
San Jose California USA
+1.5108307875





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