aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-11 21:47:44 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-11 21:47:44 +0000
commit81c9b39c0ac0e9d708079e2000ae906c50e7a7cf (patch)
tree475424d83b0e691281cd466d6ac9bac1a5c89cc5
parent37e4eda03ed89a9842e1f1e5f2f6f3eb5e132258 (diff)
downloadports-81c9b39c0ac0e9d708079e2000ae906c50e7a7cf.tar.gz
ports-81c9b39c0ac0e9d708079e2000ae906c50e7a7cf.zip
print/texinfo: Respect CC
Fix build when default cc (/usr/bin/cc) is missing. PR: 258811 Reported by: Evgeniy Khramtsov <evgeniy@khramtsov.org>
-rw-r--r--print/texinfo/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile
index 4ff10093f33b..25b9b19435e6 100644
--- a/print/texinfo/Makefile
+++ b/print/texinfo/Makefile
@@ -34,6 +34,7 @@ USES= charsetfix cpe gmake iconv:wchar_t libtool ncurses perl5 tar:xz
CONFIGURE_ARGS= --with-external-libintl-perl \
--with-external-Text-Unidecode \
--with-external-Unicode-EastAsianWidth
+CONFIGURE_ENV= PERL_EXT_CC="${CC}"
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip install-tex
MAKE_ARGS= PERL=${PERL} TEXMF=${LOCALBASE}/${TEXMFDIR}