Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2003 12:41:41 -0400
From:      Michael Edenfield <kutulu@kutulu.org>
To:        netchild@FreeBSD.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: Quo vadis, -CURRENT? (recent changes to cc & compatibility)
Message-ID:  <20030910164141.GA36649@wombat.localnet>
In-Reply-To: <20030910165454.7cc2342c.Alexander@Leidinger.net>
References:  <3F5F2774.9010408@gmx.net> <20030910165454.7cc2342c.Alexander@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Alexander Leidinger <Alexander@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


--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/X1RFCczNhKRsh48RAiJGAJwMrevI6nbE7XeUgkn7KeLyDI67YACeNyHj
gJmNtFydFRpSVd4sN1bcF00=
=KnAQ
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--



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