aboutsummaryrefslogtreecommitdiff
path: root/print/tex-luatex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/tex-luatex/Makefile')
-rw-r--r--print/tex-luatex/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/tex-luatex/Makefile b/print/tex-luatex/Makefile
index 4e843321ab67..e79af9a1b296 100644
--- a/print/tex-luatex/Makefile
+++ b/print/tex-luatex/Makefile
@@ -78,6 +78,10 @@ CPPFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
TEX_FORMATS= luatex
+# Fix build on recent current -- our tex is so outdated,
+# that it's unlikely that any upstream patches apply.
+CFLAGS+= -fcommon
+
# buildenv and dumpenv in Makefile uses hard-coded TEXMFCNF.
post-extract:
cd ${WRKSRC}/.. && \