Date: Thu, 6 May 2021 21:32:58 GMT From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c42622b6afc5 - main - print/tex-xetex: Avoid mixing libc++ and libstdc++ Message-ID: <202105062132.146LWw22001054@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=c42622b6afc5b4fcf32552dbdc1a2d07433ae24d commit c42622b6afc5b4fcf32552dbdc1a2d07433ae24d Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2021-05-06 21:32:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2021-05-06 21:32:24 +0000 print/tex-xetex: Avoid mixing libc++ and libstdc++ This port was not respecting the CC and CXX variables, thus it could pick up gcc and g++ instead, and that would cause mixups between libstdc++ (which is preferred by gcc) and libc++ (which is in base), ultimately leading to link errors. Appproved by: maintainer timeout PR: 234221 MFH: 2021Q2 --- print/tex-xetex/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/print/tex-xetex/Makefile b/print/tex-xetex/Makefile index 68c9316fd3ba..13cc2692b77e 100644 --- a/print/tex-xetex/Makefile +++ b/print/tex-xetex/Makefile @@ -75,6 +75,8 @@ CONFIGURE_ARGS+=--with-system-$L \ --with-$L-include=${LOCALBASE}/include \ --with-$L-libdir=${LOCALBASE}/lib .endfor +CONFIGURE_ARGS+=CC="${CC}" \ + CXX="${CXX}" CPPFLAGS+= -I${LOCALBASE}/include/harfbuzz -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes TEX_FORMATS= xetex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105062132.146LWw22001054>