Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2005 20:09:49 +0000
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Toomas Aas <toomas.aas@raad.tartu.ee>
Cc:        questions@freebsd.org
Subject:   Re: Which ports use C++?
Message-ID:  <20050316200949.GF91771@hub.freebsd.org>
In-Reply-To: <42388091.5060103@raad.tartu.ee>
References:  <42388091.5060103@raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 16, 2005 at 08:53:05PM +0200, Toomas Aas wrote:
> Hello!
> 
> I'm planning to upgrade one of my servers from RELENG_5_2 to RELENG_5_3. 
> In my reading of /usr/src/UPDATING I have reached the entry of 20040728 
> which says that all programs written in C++ need to be recompiled. Ugh.
> 
> Is there an easy way to find out whether particular port uses C++? I had 
> a quick look at bsd.port.mk but didn't see anything.

Not easily.  You can look at the symbol table of every file on the
system associated to ports and grep for some common C++ symbols, but
this is more trouble than it's worth.

> The ports I'm most interested in are apache2, mod_php4, mysql40-server, 
> postfix and cyrus-imapd.
> 
> Or should I more or less expect that I need to rebuild *all* the ports 
> anyway?

That's best; there are other incompatibilities that are there when you
have old (compiled on 5.2) versions of a library and you try and
compile new software against them on 5.3.

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>



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