Quo vadis, -CURRENT? (recent changes to cc & compatibility)
Michael Edenfield
kutulu at kutulu.org
Wed Sep 10 09:41:44 PDT 2003
* Alexander Leidinger <Alexander at Leidinger.net> [030910 10:53]:
> In 5-current we have 3 threads libraries and want to be able to install
> and use them in parallel. So there has to be a way to specify which one.
> This is why we need the ports collection to respect the PTHREAD*
> variables. A lot of ports already do this (e.g. the GNOME ones), but not
> all.
Err, not quite. Tried to build gnome2 lately? :)
gnome2 depends on gnomemedia2.
gnomemedia2 depends on gstreamer-plugins.
gstreamer-plugins fails because ARTSD_FLAGS in several dozen Makefiles
includes -pthread.
The fix is a pretty simple thing:
post-configure::
find ${WRKSRCDIR} -name Makefile | xargs ${SED} -e
"s#-pthread#${PTHREAD_LIBS}#g' -i
But of course, it's not a problem on 4.x and the ports tree's frozen at
the moment, so it will probably be a bit until gnome2 fully compiles.
--Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030910/87ece50b/attachment.bin
More information about the freebsd-current
mailing list