pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check mk: Use "_PKGSRC_USE_RELRO" instead of "PKGSR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31f63bce29cd
branches:  trunk
changeset: 445949:31f63bce29cd
user:      tpaul <tpaul%pkgsrc.org@localhost>
date:      Mon Feb 01 16:03:49 2021 +0000

description:
mk: Use "_PKGSRC_USE_RELRO" instead of "PKGSRC_USE_RELRO"

This variable appears to be incorrect as "_PKGSRC_USE_RELRO" is set in
bsd.prefs.mk. This was causing RELRO_SUPPORTED=no to not function as intended
in lang/go/go-vars.mk

ok'd by jperkin

diffstat:

 mk/check/check-relro.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f80ef4c96c41 -r 31f63bce29cd mk/check/check-relro.mk
--- a/mk/check/check-relro.mk   Mon Feb 01 15:52:26 2021 +0000
+++ b/mk/check/check-relro.mk   Mon Feb 01 16:03:49 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-relro.mk,v 1.4 2020/03/23 09:24:35 jperkin Exp $
+# $NetBSD: check-relro.mk,v 1.5 2021/02/01 16:03:49 tpaul Exp $
 #
 # This file verifies that RELRO (read-only relocations) was applied
 # accordingly at build-time.
@@ -29,7 +29,7 @@
 _USER_VARS.check-relro=                CHECK_RELRO
 _PKG_VARS.check-relro=         CHECK_RELRO_SUPPORTED
 
-.if ${PKGSRC_USE_RELRO:Uno} != "no" && \
+.if ${_PKGSRC_USE_RELRO:Uno} != "no" && \
     ${PKG_DEVELOPER:Uno} != "no"
 CHECK_RELRO?=                  yes
 .else



Home | Main Index | Thread Index | Old Index