Sat Jun 25 07:01:48 2022 UTC ()
grub2: do not want -Werror in pkgsrc


(nia)
diff -r1.26 -r1.27 pkgsrc/sysutils/grub2/Makefile

cvs diff -r1.26 -r1.27 pkgsrc/sysutils/grub2/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/grub2/Makefile 2021/11/09 10:21:35 1.26
+++ pkgsrc/sysutils/grub2/Makefile 2022/06/25 07:01:48 1.27
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.26 2021/11/09 10:21:35 nia Exp $ 1# $NetBSD: Makefile,v 1.27 2022/06/25 07:01:48 nia Exp $
2 2
3DISTNAME= grub-2.04 3DISTNAME= grub-2.04
4PKGNAME= ${DISTNAME:S/grub/grub2/} 4PKGNAME= ${DISTNAME:S/grub/grub2/}
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= sysutils 6CATEGORIES= sysutils
7MASTER_SITES= ftp://ftp.gnu.org/gnu/grub/ 7MASTER_SITES= ftp://ftp.gnu.org/gnu/grub/
8DISTFILES= ${DISTNAME}${EXTRACT_SUFX} 8DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.gnu.org/software/grub/ 11HOMEPAGE= https://www.gnu.org/software/grub/
12COMMENT= GRand Unified Bootloader, version 2 12COMMENT= GRand Unified Bootloader, version 2
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
@@ -22,26 +22,27 @@ MKPIE_SUPPORTED= no @@ -22,26 +22,27 @@ MKPIE_SUPPORTED= no
22RELRO_SUPPORTED= no 22RELRO_SUPPORTED= no
23 23
24USE_LANGUAGES+= c c++ 24USE_LANGUAGES+= c c++
25USE_TOOLS+= gmake flex bison gettext:run awk pkg-config 25USE_TOOLS+= gmake flex bison gettext:run awk pkg-config
26 26
27.include "../../lang/python/tool.mk" 27.include "../../lang/python/tool.mk"
28PYTHON_FOR_BUILD_ONLY= tool 28PYTHON_FOR_BUILD_ONLY= tool
29 29
30GNU_CONFIGURE= yes 30GNU_CONFIGURE= yes
31CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 31CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
32CONFIGURE_ARGS+= --disable-efiemu 32CONFIGURE_ARGS+= --disable-efiemu
33CONFIGURE_ARGS+= --disable-grub-emu-sdl 33CONFIGURE_ARGS+= --disable-grub-emu-sdl
34CONFIGURE_ARGS+= --disable-grub-emu-pci 34CONFIGURE_ARGS+= --disable-grub-emu-pci
 35CONFIGURE_ARGS+= --disable-werror
35INFO_FILES= yes 36INFO_FILES= yes
36USE_PKGLOCALEDIR= yes 37USE_PKGLOCALEDIR= yes
37 38
38.include "../../mk/bsd.prefs.mk" 39.include "../../mk/bsd.prefs.mk"
39 40
40CFLAGS+= -Wno-unused-value 41CFLAGS+= -Wno-unused-value
41 42
42# 43#
43# Build requirements, taken from the INSTALL file in GRUB's distribution: 44# Build requirements, taken from the INSTALL file in GRUB's distribution:
44# 45#
45# - GCC >= 4.1.3 (in fact >= 4.4 is required for a successful build) 46# - GCC >= 4.1.3 (in fact >= 4.4 is required for a successful build)
46# - Flex >= 2.5.35 47# - Flex >= 2.5.35
47# - gettext >= 0.17 (the need for >= 0.17 seems to only concern msgfmt) 48# - gettext >= 0.17 (the need for >= 0.17 seems to only concern msgfmt)