| @@ -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 | |
3 | DISTNAME= grub-2.04 | | 3 | DISTNAME= grub-2.04 |
4 | PKGNAME= ${DISTNAME:S/grub/grub2/} | | 4 | PKGNAME= ${DISTNAME:S/grub/grub2/} |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= sysutils | | 6 | CATEGORIES= sysutils |
7 | MASTER_SITES= ftp://ftp.gnu.org/gnu/grub/ | | 7 | MASTER_SITES= ftp://ftp.gnu.org/gnu/grub/ |
8 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | | 8 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.gnu.org/software/grub/ | | 11 | HOMEPAGE= https://www.gnu.org/software/grub/ |
12 | COMMENT= GRand Unified Bootloader, version 2 | | 12 | COMMENT= GRand Unified Bootloader, version 2 |
13 | LICENSE= gnu-gpl-v3 | | 13 | LICENSE= gnu-gpl-v3 |
14 | | | 14 | |
| @@ -22,26 +22,27 @@ MKPIE_SUPPORTED= no | | | @@ -22,26 +22,27 @@ MKPIE_SUPPORTED= no |
22 | RELRO_SUPPORTED= no | | 22 | RELRO_SUPPORTED= no |
23 | | | 23 | |
24 | USE_LANGUAGES+= c c++ | | 24 | USE_LANGUAGES+= c c++ |
25 | USE_TOOLS+= gmake flex bison gettext:run awk pkg-config | | 25 | USE_TOOLS+= gmake flex bison gettext:run awk pkg-config |
26 | | | 26 | |
27 | .include "../../lang/python/tool.mk" | | 27 | .include "../../lang/python/tool.mk" |
28 | PYTHON_FOR_BUILD_ONLY= tool | | 28 | PYTHON_FOR_BUILD_ONLY= tool |
29 | | | 29 | |
30 | GNU_CONFIGURE= yes | | 30 | GNU_CONFIGURE= yes |
31 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 31 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
32 | CONFIGURE_ARGS+= --disable-efiemu | | 32 | CONFIGURE_ARGS+= --disable-efiemu |
33 | CONFIGURE_ARGS+= --disable-grub-emu-sdl | | 33 | CONFIGURE_ARGS+= --disable-grub-emu-sdl |
34 | CONFIGURE_ARGS+= --disable-grub-emu-pci | | 34 | CONFIGURE_ARGS+= --disable-grub-emu-pci |
| | | 35 | CONFIGURE_ARGS+= --disable-werror |
35 | INFO_FILES= yes | | 36 | INFO_FILES= yes |
36 | USE_PKGLOCALEDIR= yes | | 37 | USE_PKGLOCALEDIR= yes |
37 | | | 38 | |
38 | .include "../../mk/bsd.prefs.mk" | | 39 | .include "../../mk/bsd.prefs.mk" |
39 | | | 40 | |
40 | CFLAGS+= -Wno-unused-value | | 41 | CFLAGS+= -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) |