pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/grub2 grub2: remove violent hack necessary to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2be5233b7c85
branches:  trunk
changeset: 308451:2be5233b7c85
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed May 23 10:45:54 2018 +0000

description:
grub2: remove violent hack necessary to build grub 2.00.

Grub 2.02 no longer uses nested functions and doesn't need a RWX stack, so
no paxctl +m is necessary (on some platforms). Hurray!

diffstat:

 sysutils/grub2/Makefile |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r cf3453d9f347 -r 2be5233b7c85 sysutils/grub2/Makefile
--- a/sysutils/grub2/Makefile   Wed May 23 10:35:06 2018 +0000
+++ b/sysutils/grub2/Makefile   Wed May 23 10:45:54 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2018/05/23 07:56:53 triaxx Exp $
+# $NetBSD: Makefile,v 1.13 2018/05/23 10:45:54 maya Exp $
 
 DISTNAME=              grub-2.02
 PKGNAME=               ${DISTNAME:S/grub/grub2/}
@@ -136,15 +136,6 @@
 SUBST_SED.fix-sed-tabs=                -e 's,\\t,      ,g'
 
 #
-# grub-script-check crashes from enabling executable stack, paxctl +m it if possible.
-# XXX not needed with grub 2.02
-#
-post-configure:
-       ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
-       ${RUN}${AWK} '/^grub-script-check.1:/{print;print "\t-paxctl +m grub-script-check";next}1' \
-               ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
-
-#
 # Remove executable bit from non-executable files.
 #
 post-install:



Home | Main Index | Thread Index | Old Index