pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/standalone-tcsh standalone-tcsh: Don't hardcode...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc634cc35f7a
branches: trunk
changeset: 374914:dc634cc35f7a
user: nia <nia%pkgsrc.org@localhost>
date: Thu Mar 03 07:30:47 2022 +0000
description:
standalone-tcsh: Don't hardcode our own list of archs on which to disable
static PIE.
diffstat:
shells/standalone-tcsh/Makefile | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (27 lines):
diff -r 301959c3f06c -r dc634cc35f7a shells/standalone-tcsh/Makefile
--- a/shells/standalone-tcsh/Makefile Thu Mar 03 07:30:06 2022 +0000
+++ b/shells/standalone-tcsh/Makefile Thu Mar 03 07:30:47 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2022/03/03 03:33:47 mrg Exp $
+# $NetBSD: Makefile,v 1.41 2022/03/03 07:30:47 nia Exp $
#
# FIXME: This is because of PREFIX=/ below.
@@ -16,14 +16,12 @@
# anyone wants.
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
-.if "${OPSYS}" == "NetBSD" && \
- (${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb" || \
- ${MACHINE_ARCH} == "mipsn64-el" || ${MACHINE_ARCH} == "mipsn64eb")
+.include "../../mk/bsd.prefs.mk"
+
+.if "${OPSYS}" == "NetBSD" && !defined(OPSYS_HAS_STATIC_PIE)
MKPIE_SUPPORTED= no
.endif
-.include "../../mk/bsd.prefs.mk"
-
.if ${OS_VARIANT} == "OmniOS"
NOT_FOR_PLATFORM+= SunOS-*-*
.endif
Home |
Main Index |
Thread Index |
Old Index