Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 18:13:24 -0700
From:      Paul Brooks <paul.at.ngc@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   port print/tex-luatex vs. sparc64
Message-ID:  <CAC3nEEYD5jPdV6fSAdbmgMFZMF_sK-8EHOH3wXrGRG5XTy4KsA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC3nEEYD5jPdV6fSAdbmgMFZMF_sK-8EHOH3wXrGRG5XTy4KsA>