From 76ca95844ff2a4c89bed4cd6674f4d8092f11d75 Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 7 Oct 2021 22:40:58 +0000 Subject: [PATCH] erlang: seems incompatible with PIE (unfortunately) --- lang/erlang/Makefile | 6 +++++- lang/erlang21/Makefile | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 2a2d175f290d..41320f9d536b 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.107 2021/05/24 19:52:30 wiz Exp $ +# $NetBSD: Makefile,v 1.108 2021/10/07 22:40:58 nia Exp $ DISTNAME= erlang-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH} PKGNAME= ${DISTNAME:S/OTP-/erlang-/} @@ -19,6 +19,10 @@ WRKSRC= ${WRKDIR}/otp-${GITHUB_TAG} GNU_CONFIGURE= yes USE_TOOLS+= autoconf awk gmake perl:run flex +# "This run-time was supposed be compiled with all code below 2Gb, +# but the instruction 'allocate_tt' is located at 00000001c586f34c." +MKPIE_SUPPORTED= no + .include "../../mk/bsd.prefs.mk" .if !empty(MACHINE_ARCH:M*armv6*) || !empty(MACHINE_ARCH:M*armv7*) diff --git a/lang/erlang21/Makefile b/lang/erlang21/Makefile index e06210327d8d..1d97fc4a4c85 100644 --- a/lang/erlang21/Makefile +++ b/lang/erlang21/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2021/05/24 19:52:30 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2021/10/07 22:40:59 nia Exp $ DISTNAME= OTP-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH} PKGNAME= ${DISTNAME:S/OTP-/erlang21-/} @@ -25,6 +25,10 @@ CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl} PTHREAD_OPTS+= require native CONFIGURE_ARGS+= --enable-threads +# "This run-time was supposed be compiled with all code below 2Gb, +# but the instruction 'allocate_tt' is located at 00000001c586f34c." +MKPIE_SUPPORTED= no + .include "../../mk/bsd.prefs.mk" MAKE_ENV+= DESTDIR=${DESTDIR}