Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 14:20:34 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        office@freebsd.org
Subject:   switch clang version for editors/libreoffice
Message-ID:  <20131028192034.GA57868@lor.one-eyed-alien.net>

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

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

The following patch switches the clang version used by
editors/libreoffice from devel/clang (clang 3.2) to devel/clang32 (also
clang 3.2, but installed with "32" suffixed on binaries so as not to
conflict with other reversions).  I've tested the patch on 8.4 amd64
using redports and clang32 is properly detected and builds.  There are
some leftovers reported but I believe they are not my fault.

https://redports.org/~brooks/20131028171312-09199-155471/libreoffice-4.0.6.log

Please approve or commit this patch.  I'd like to remove the current
lang/clang soon.

Thanks,
Brooks

Index: Makefile
===================================================================
--- Makefile	(revision 331869)
+++ Makefile	(working copy)
@@ -334,11 +334,11 @@
 .endif
 .else
 # XXX Clang PR13308 (http://llvm.org/bugs/show_bug.cgi?id=13308)
-BUILD_DEPENDS+=	clang>=3.2_4:${PORTSDIR}/lang/clang
+BUILD_DEPENDS+=	clang32:${PORTSDIR}/lang/clang32
 USE_BINUTILS=	yes
-CC=		${LOCALBASE}/bin/clang
-CPP=		${CC} -E
-CXX=		${LOCALBASE}/bin/clang++
+CC=		${LOCALBASE}/bin/clang32
+CPP=		${LOCALBASE}/bin/clang-cpp32
+CXX=		${LOCALBASE}/bin/clang++32
 CONFIGURE_ENV+=	CXXCPP="${CXX} -E"
 .endif
 .endif

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature

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

iD8DBQFSbrkBXY6L6fI4GtQRAtUpAJ4z22Zf4xp1om8gcvxzIbJOrlZjnQCgxlZT
lrpe1eXUDc0fPz71VvKmWpg=
=+2Sm
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--



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