git: c42622b6afc5 - main - print/tex-xetex: Avoid mixing libc++ and libstdc++
Dimitry Andric
dim at FreeBSD.org
Thu May 6 21:32:58 UTC 2021
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 at FreeBSD.org>
AuthorDate: 2021-05-06 21:32:00 +0000
Commit: Dimitry Andric <dim at 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
More information about the dev-commits-ports-all
mailing list