pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/pearpc pearpc: Disable JIT to avoid build fa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5042e10e9b1e
branches:  trunk
changeset: 385507:5042e10e9b1e
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Sep 18 12:47:15 2022 +0000

description:
pearpc: Disable JIT to avoid build failures.

diffstat:

 emulators/pearpc/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 795a28bc1e1f -r 5042e10e9b1e emulators/pearpc/Makefile
--- a/emulators/pearpc/Makefile Sun Sep 18 12:34:29 2022 +0000
+++ b/emulators/pearpc/Makefile Sun Sep 18 12:47:15 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2020/05/14 19:33:30 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2022/09/18 12:47:15 nia Exp $
 
 DISTNAME=              pearpc-0.5
+PKGREVISION=           1
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=pearpc/}
 EXTRACT_SUFX=          .tar.bz2
@@ -12,8 +13,6 @@
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++03
 
-BUILDLINK_TRANSFORM+=  rm:-Wall
-
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
 CONF_FILES=            ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
 
@@ -27,15 +26,15 @@
 
 .if ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS+=                nasm-[0-9]*:../../devel/nasm
-CONFIGURE_ARGS+=       --enable-cpu=jitc_x86
 .endif
 
+# JIT is incompatible with PIE on NetBSD/x86 and causes other compilation
+# failures on NetBSD 9.99.x.
+CONFIGURE_ARGS+=       --enable-cpu=generic
 CONFIGURE_ARGS+=       --disable-debug
 
 INSTALLATION_DIRS=     share/${PKGBASE} ${EGDIR} bin
 
-NOT_PAX_MPROTECT_SAFE+=        share/pearpc/ppc
-
 do-install:
        ${SED}  -e "s,@PREFIX@,${PREFIX}," \
                -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \



Home | Main Index | Thread Index | Old Index