diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/grub/Makefile | 14 | ||||
-rw-r--r-- | sysutils/grub/distinfo | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile index d6a0c9e8dfeb..cbefeb985214 100644 --- a/sysutils/grub/Makefile +++ b/sysutils/grub/Makefile @@ -20,6 +20,20 @@ CONFIGURE_TARGET= ${MACHINE_ARCH}-freebsd-freebsd${OSREL} MAN1= mbchk.1 MAN8= grub.8 grub-install.8 grub-md5-crypt.8 +.if defined(WITH_SPLASHIMAGE) +PATCH_SITES= http://people.redhat.com/~katzj/grub/patches/ +PATCHFILES= ${DISTNAME}-vga16.patch ${DISTNAME}-splashimagehelp.patch +PATCH_DIST_STRIP= -p1 +USE_AUTOCONF= yes +.else +pre-fetch: + @${ECHO_MSG} + @${ECHO_MSG} "You may build grub with splash image support by" + @${ECHO_MSG} "defining WITH_SPLASHIMAGE." + @${ECHO_MSG} + @sleep 2 +.endif + pre-build: @${RM} ${WRKSRC}/docs/grub.info* diff --git a/sysutils/grub/distinfo b/sysutils/grub/distinfo index 1e7d57f13138..6d45eb5b1c80 100644 --- a/sysutils/grub/distinfo +++ b/sysutils/grub/distinfo @@ -1 +1,3 @@ MD5 (grub-0.91.tar.gz) = 83f60ed38224c2f4921d72ed56f4fa90 +MD5 (grub-0.91-vga16.patch) = 33f17dc565246d4acf52cb8b22dffa7e +MD5 (grub-0.91-splashimagehelp.patch) = bb016a75234fb52358a2f5412afc2e58 |