aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-04-26 06:49:33 +0800
committerjedgar <jedgar@FreeBSD.org>2002-04-26 06:49:33 +0800
commitedfc1e058e93ec32a1a62c388712eda3c14bcde8 (patch)
tree1c257b7f98fc95377a573d6b9cd5ae18913bfb50 /sysutils
parent7f033be82e74007919fc149ce6cba282f21ed4b1 (diff)
downloadfreebsd-ports-gnome-edfc1e058e93ec32a1a62c388712eda3c14bcde8.tar.gz
freebsd-ports-gnome-edfc1e058e93ec32a1a62c388712eda3c14bcde8.tar.zst
freebsd-ports-gnome-edfc1e058e93ec32a1a62c388712eda3c14bcde8.zip
A support for splash screen images.
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/grub/Makefile14
-rw-r--r--sysutils/grub/distinfo2
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