This built for me on FreeBSD 9.2 powerpc64 by adding the following to /etc/make.conf:

.if !empty(.CURDIR:M/usr/ports/devel/boost-libs) && exists(/usr/local/bin/gcc49)
CC=gcc49
CXX=g++49
CPP=cpp49
.endif


On 12/14/2013 2:14 PM, Justin Hibbits wrote:
On Sat, 14 Dec 2013 20:51:03 +1100
Kubilay Kocak <koobs.free...@gmail.com> wrote:

On 14/12/2013 8:47 PM, Kubilay Kocak wrote:
On 13/12/2013 7:47 PM, Baptiste Daroussin wrote:
Hi,

I have been deseperatly waiting for someone to handle updating
boost to the latest version, this didn't happened so I did it.

http://people.freebsd.org/~bapt/boost-1.55.0.diff

Changes compared to previous version (from the ports point of
view) the libraries are now having the name upstream would expect
aka: libboost_bla.so.1.55.0
For compatibility I added a symbol link to libboost_bla.so.5 so
everything does not have to be rebuilt
The ports is now staged aware
It uses a modern compiler (sorry I haven't been able to make it
use gcc from base at all, so it uses clang33 or gcc47+ from ports
on FreeBSD 9.1 and FreeBSD 8.*, clang33 from base in FreeBSD 9.2
(if available) and cc on 10+) It removes the wrongly added support
for long long double.

Exp-run show everything is ok from package building side of view.

What about users?

Can you test?

to test
cd /usr/ports/devel
patch -p0 < /path/to/boost-1.55.0.diff

regards,
Bapt

Hi bapt,

There is a PR to fix building boost-libs on non-x86 platforms that
is not in the 1.55.x release branch, that I have tested and is
ready to commit:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182549

I have additionally re-opened the upstream issue and pinged
upstream on IRC about the merge back to the release branch.

Would you prefer a) I commit now and you merge a one line change to
a single source file into your CFT patch, or b) something else ?

jhibbits (submitter) CC'd

Thanks!

--
koobs

Patch attached this time :)
bapt,

I've been test-building boost-libs 1.55 for the last several hours, and
it's completely unbuildable on powerpc64.  It insists on using base
clang, regardless of USE_GCC setting, nor CC/CXX manual setting, but
base clang is missing some things required to build boost on powerpc.
Please fix this so that I can build with alternate compilers.

- Justin
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"



_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to