[127888] trunk/dports/tex/texlive-bin/Portfile

dports at macports.org dports at macports.org
Wed Nov 5 23:09:13 PST 2014


Revision: 127888
          https://trac.macports.org/changeset/127888
Author:   dports at macports.org
Date:     2014-11-05 23:09:13 -0800 (Wed, 05 Nov 2014)
Log Message:
-----------
texlive-bin: fix build error on ppc by disabling luajittex (#44340)

Modified Paths:
--------------
    trunk/dports/tex/texlive-bin/Portfile

Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile	2014-11-06 07:00:20 UTC (rev 127887)
+++ trunk/dports/tex/texlive-bin/Portfile	2014-11-06 07:09:13 UTC (rev 127888)
@@ -187,6 +187,18 @@
 configure.cppflags-append   -isystem${prefix}/include
 configure.env-append        LIBRARY_PATH=${prefix}/lib
 
+# luajittex does not support ppc
+if {[variant_isset universal]} {
+    set merger_configure_args(ppc) --disable-luajittex
+    set merger_configure_args(ppc64) --disable-luajittex
+} else {
+    switch -- ${configure.build_arch} {
+        ppc -
+        ppc64 { configure.args-append --disable-luajittex }
+    }
+}
+
+
 # work around bug in texlive makefiles where $OBJC is not recorded
 # during configure phase
 build.env                   OBJC=${configure.objc} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141105/d6af59ac/attachment.html>


More information about the macports-changes mailing list