pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/R-ps



Module Name:    pkgsrc
Committed By:   mef
Date:           Wed Nov  3 13:59:13 UTC 2021

Modified Files:
        pkgsrc/sysutils/R-ps: Makefile

Log Message:
(sysutils/R-ps) adhoc, purely tentative fix for RELRO


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/R-ps/Makefile

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

Modified files:

Index: pkgsrc/sysutils/R-ps/Makefile
diff -u pkgsrc/sysutils/R-ps/Makefile:1.3 pkgsrc/sysutils/R-ps/Makefile:1.4
--- pkgsrc/sysutils/R-ps/Makefile:1.3   Mon Aug 30 00:53:15 2021
+++ pkgsrc/sysutils/R-ps/Makefile       Wed Nov  3 13:59:13 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/08/30 00:53:15 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/03 13:59:13 mef Exp $
 
 R_PKGNAME=     ps
 R_PKGVER=      1.6.0
@@ -10,6 +10,15 @@ LICENSE=     modified-bsd
 
 TEST_DEPENDS+= R-pingr-[0-9]*:../../net/R-pingr
 
+# ps/src/Makevars.in:      $(CC) $(CFLAGS)  -Wall px.c -o px
+#                          PKG_LIBS = @LIBS@
+SUBST_CLASSES+=        relro
+SUBST_MESSAGE.relro=   RELRO (partial) support
+SUBST_FILES.relro=     src/Makevars.in
+SUBST_STAGE.relro=     pre-configure
+SUBST_SED.relro=       -e '/Wall px.c/s/CC)/CC) -Wl,-z,relro /'
+SUBST_SED.relro+=      -e 's/@LIBS@/-Wl,-z,relro /'
+
 USE_LANGUAGES= c
 
 .include "../../math/R/Makefile.extension"



Home | Main Index | Thread Index | Old Index