aboutsummaryrefslogtreecommitdiff
path: root/sysutils/grub/Makefile
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-04-25 22:49:33 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-04-25 22:49:33 +0000
commitd9679842bb54435012c9e0497f1354c5f384a192 (patch)
tree20a6ccc95fc30cac51b8407a176821852df67f45 /sysutils/grub/Makefile
parenta9b34d73e1e84e1eb0006bd488560e83752702f1 (diff)
downloadports-d9679842bb54435012c9e0497f1354c5f384a192.tar.gz
ports-d9679842bb54435012c9e0497f1354c5f384a192.zip
Notes
Diffstat (limited to 'sysutils/grub/Makefile')
-rw-r--r--sysutils/grub/Makefile14
1 files changed, 14 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*