[RFC] LibreOffice build issues
Jung-uk Kim
jkim at FreeBSD.org
Mon Jul 23 19:19:24 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-07-23 14:02:18 -0400, Jung-uk Kim wrote:
> Over the weekend, I have tried various environments to build
> LibreOffice. Basically, it is really tricky to do the right thing
> in 7 and 8 branches.
>
> devel/boost-libs in ports tree (1.48) is newer than bundled one
> (1.44). Unfortunately, Boost 1.48 has various issues in C++98
> mode. That's why LibreOffice had to be built with C++11 mode in the
> first place. Alas, C++11 support for libstdc++ in the base system
> doesn't exist and 7 & 8 is worse than 9, I think. The only way to
> build it cleanly for me on 7.4 and 8.2 was with bundled Boost +
> base GCC in default mode[1] (but I believe you may experience
> run-time problems). llvm/clang/binutils combo from ports may be
> able to build it[2] but I don't think we can guarantee its
> correctness.
>
> So, I am stuck here. What do we do now? :-(
>
> Jung-uk Kim
>
> [1] devel/boost-libs had to be removed first because it is
> *always* picked up first with "-I/usr/local/include" in the
> CXXFLAGS.
...
I found a solution for this specific problem. We can add CPPFLAGS to
CONFIGURE_ENV, rather than directly define it in the port Makefile,
not to pick up random files from ${LOCALBASE}/include or ${LOCALBASE}/lib.
Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlANo7oACgkQmlay1b9qnVMcuwCfdtN+qlxBXoErmV6zZXtCKkiz
zzQAoJpEoilNl5QfIG1sIEqQRXplJ9ut
=myCj
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list