summaryrefslogtreecommitdiff
path: root/sysutils/grub2
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-05-23 10:45:54 +0000
committermaya <maya@pkgsrc.org>2018-05-23 10:45:54 +0000
commita8c751cad4148542a0fd411013311b9df934c830 (patch)
tree03b37e8fd91c8ad43ecf948f454a88aa982e30f3 /sysutils/grub2
parent2f0b40530be6f52541007b166aa4578504f79e51 (diff)
downloadpkgsrc-a8c751cad4148542a0fd411013311b9df934c830.tar.gz
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 (limited to 'sysutils/grub2')
-rw-r--r--sysutils/grub2/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysutils/grub2/Makefile b/sysutils/grub2/Makefile
index fed0d3447c4..75aca3a76c2 100644
--- a/sysutils/grub2/Makefile
+++ b/sysutils/grub2/Makefile
@@ -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_FILES.fix-sed-tabs= util/grub.d/*.in
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: