port print/tex-luatex vs. sparc64

Paul Brooks paul.at.ngc at gmail.com
Sat May 11 01:13:26 UTC 2013


On sparc64 9.1-STABLE r250120 print/tex-luatex r317588 failed to
compile with errors originating in luatexdir/lua51/lcoco.c

Taking a clue from the luatexdir/lua51/Makefile and code from
lang/luajit, the following quick-n-dirty patch resolved my issue
and allowed print/tex-luatex to compile and install.

--- tex-luatex/Makefile 2013-05-10 17:22:21.696404756 -0700
+++ tex-luatex/Makefile.prb     2013-05-10 17:08:29.970395275 -0700
@@ -96,4 +96,10 @@
        ${CAT}
${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX}
\
                ${EXTRACT_AFTER_ARGS_TEXMF}

-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+CFLAGS+=       -DCOCO_DISABLE
+.endif
+
+.include <bsd.port.post.mk>


More information about the freebsd-ports mailing list