Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/grub2 grub2: Fix missing interpreter in bulk ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b988e36cc0af
branches:  trunk
changeset: 433574:b988e36cc0af
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Thu Jun 04 20:17:19 2020 +0000

description:
grub2: Fix missing interpreter in bulk build

pkgsrc changes:
---------------
  * Include lang/python/tool.mk so that PYTHON_FOR_BUILD_ONLY is taken into
    account.
  * Pull {SSP,FORTIFY}_SUPPORTED up to put them before inclusion of
    mk/bsd.prefs.mk (/!\ lang/python/tool.mk includes mk/bsd.prefs.mk).

diffstat:

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

diffs (33 lines):

diff -r 48f2acb0b8d6 -r b988e36cc0af sysutils/grub2/Makefile
--- a/sysutils/grub2/Makefile   Thu Jun 04 19:45:45 2020 +0000
+++ b/sysutils/grub2/Makefile   Thu Jun 04 20:17:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/05/09 17:21:32 triaxx Exp $
+# $NetBSD: Makefile,v 1.24 2020/06/04 20:17:19 triaxx Exp $
 
 DISTNAME=              grub-2.04
 PKGNAME=               ${DISTNAME:S/grub/grub2/}
@@ -16,8 +16,13 @@
 
 ONLY_FOR_PLATFORM=     *-*-i386 *-*-x86_64
 
+SSP_SUPPORTED=         no
+FORTIFY_SUPPORTED=     no
+
 USE_LANGUAGES+=                c c++
 USE_TOOLS+=            gmake flex bison gettext:run awk pkg-config
+
+.include "../../lang/python/tool.mk"
 PYTHON_FOR_BUILD_ONLY= tool
 
 GNU_CONFIGURE=         yes
@@ -28,9 +33,6 @@
 INFO_FILES=            yes
 USE_PKGLOCALEDIR=      yes
 
-SSP_SUPPORTED=         no
-FORTIFY_SUPPORTED=     no
-
 .include "../../mk/bsd.prefs.mk"
 
 CFLAGS+=               -Wno-unused-value



Home | Main Index | Thread Index | Old Index