f685a666a91a63917e87ffb65ce1a1dfb59ab67a
[pkgsrc.git] / wip / grub2-current / patches / patch-ad
1 $NetBSD$
2
3 Description: forces installation of all configuration scripts.  These are
4   installed in share/examples/grub2.  The appropriates ones (as in the
5   original behavior below) are copied into etc/grub2 with the pkgsrc
6   directive CONF_FILES.  See the main makefile of this pkgsrc package for
7   further details.
8
9 --- conf/common.rmk.orig        2010-01-11 02:40:56.000000000 +0100
10 +++ conf/common.rmk
11 @@ -177,9 +177,9 @@ CLEANFILES += grub-gettext_lib
12         ./config.status --file=$@:$<
13         chmod +x $@
14  grub-mkconfig_SCRIPTS = 00_header 30_os-prober 40_custom
15 -ifneq (, $(host_kernel))
16 -grub-mkconfig_SCRIPTS += 10_$(host_kernel)
17 -endif
18 +#ifneq (, $(host_kernel))
19 +grub-mkconfig_SCRIPTS += 10_hurd 10_kfreebsd 10_linux 10_netbsd 10_windows
20 +#endif
21  
22  CLEANFILES += $(grub-mkconfig_SCRIPTS)
23