pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/check



Module Name:    pkgsrc
Committed By:   tpaul
Date:           Mon Feb  1 16:03:49 UTC 2021

Modified Files:
        pkgsrc/mk/check: check-relro.mk

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mk/check/check-relro.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/check/check-relro.mk
diff -u pkgsrc/mk/check/check-relro.mk:1.4 pkgsrc/mk/check/check-relro.mk:1.5
--- pkgsrc/mk/check/check-relro.mk:1.4  Mon Mar 23 09:24:35 2020
+++ pkgsrc/mk/check/check-relro.mk      Mon Feb  1 16:03:49 2021
@@ -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 @@ _VARGROUPS+=                  check-relro
 _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