Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 11:12:35 +0100 (BST)
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        mm@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   [patch] --disable-jit for ia64 in devel/pcre
Message-ID:  <201209171012.q8HACZZY029228@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
devel/pcre fails on ia64 portscluster because defaults
include JIT:

http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.9.20120916093935/pcre-8.31.log

This patch fixes it. I checked
it on my own ia64 boxes:

Index: Makefile
===================================================================
--- Makefile    (revision 304384)
+++ Makefile    (working copy)
@@ -32,7 +32,7 @@
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MJIT} && ${ARCH} != "sparc64"
+.if ${PORT_OPTIONS:MJIT} && ${ARCH} != "sparc64" && ${ARCH} != "ia64"
 CONFIGURE_ARGS+=       --enable-jit
 .else
 CONFIGURE_ARGS+=       --disable-jit

This patch is helpful because
pcre failure on ia64 portscluster blocks an
estimated 5658 other ports, so would
be good to get it committed.

HOwever, I wonder if it's better to 
check for $ARCH="i386" && $ARCH="amd64",
now that we have ppc and arm in portscluster.
I guess there's no JIT support for those
arches either.

Thanks
Anton



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