| @@ -1,46 +1,48 @@ | | | @@ -1,46 +1,48 @@ |
1 | # $NetBSD: Makefile,v 1.23 2020/05/09 17:21:32 triaxx Exp $ | | 1 | # $NetBSD: Makefile,v 1.24 2020/06/04 20:17:19 triaxx 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= 1 | | 5 | PKGREVISION= 1 |
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 | |
15 | CONFLICTS= grub-[0-9]* | | 15 | CONFLICTS= grub-[0-9]* |
16 | | | 16 | |
17 | ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 | | 17 | ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 |
18 | | | 18 | |
| | | 19 | SSP_SUPPORTED= no |
| | | 20 | FORTIFY_SUPPORTED= no |
| | | 21 | |
19 | USE_LANGUAGES+= c c++ | | 22 | USE_LANGUAGES+= c c++ |
20 | USE_TOOLS+= gmake flex bison gettext:run awk pkg-config | | 23 | USE_TOOLS+= gmake flex bison gettext:run awk pkg-config |
| | | 24 | |
| | | 25 | .include "../../lang/python/tool.mk" |
21 | PYTHON_FOR_BUILD_ONLY= tool | | 26 | PYTHON_FOR_BUILD_ONLY= tool |
22 | | | 27 | |
23 | GNU_CONFIGURE= yes | | 28 | GNU_CONFIGURE= yes |
24 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 29 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
25 | CONFIGURE_ARGS+= --disable-efiemu | | 30 | CONFIGURE_ARGS+= --disable-efiemu |
26 | CONFIGURE_ARGS+= --disable-grub-emu-sdl | | 31 | CONFIGURE_ARGS+= --disable-grub-emu-sdl |
27 | CONFIGURE_ARGS+= --disable-grub-emu-pci | | 32 | CONFIGURE_ARGS+= --disable-grub-emu-pci |
28 | INFO_FILES= yes | | 33 | INFO_FILES= yes |
29 | USE_PKGLOCALEDIR= yes | | 34 | USE_PKGLOCALEDIR= yes |
30 | | | 35 | |
31 | SSP_SUPPORTED= no | | | |
32 | FORTIFY_SUPPORTED= no | | | |
33 | | | | |
34 | .include "../../mk/bsd.prefs.mk" | | 36 | .include "../../mk/bsd.prefs.mk" |
35 | | | 37 | |
36 | CFLAGS+= -Wno-unused-value | | 38 | CFLAGS+= -Wno-unused-value |
37 | | | 39 | |
38 | # | | 40 | # |
39 | # Build requirements, taken from the INSTALL file in GRUB's distribution: | | 41 | # Build requirements, taken from the INSTALL file in GRUB's distribution: |
40 | # | | 42 | # |
41 | # - GCC >= 4.1.3 (in fact >= 4.4 is required for a successful build) | | 43 | # - GCC >= 4.1.3 (in fact >= 4.4 is required for a successful build) |
42 | # - Flex >= 2.5.35 | | 44 | # - Flex >= 2.5.35 |
43 | # - gettext >= 0.17 (the need for >= 0.17 seems to only concern msgfmt) | | 45 | # - gettext >= 0.17 (the need for >= 0.17 seems to only concern msgfmt) |
44 | # | | 46 | # |
45 | # Additionnaly, help2man is required to generate the manual pages. | | 47 | # Additionnaly, help2man is required to generate the manual pages. |
46 | # | | 48 | # |