diff -urN grub2.orig2/Makefile grub2.orig3/Makefile --- grub2.orig2/Makefile 2012-09-12 19:24:03.000000000 +0900 +++ grub2.orig3/Makefile 2012-09-12 19:34:27.000000000 +0900 @@ -14,6 +14,8 @@ MAINTAINER= rick@lgarchitecture.com COMMENT= Multiboot boot loader +LICENSE= GPLv3 + CONFLICTS= grub-0* BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex @@ -30,7 +32,9 @@ CONFIGURE_ENV= CPP="${CC} -E" \ LEX=${LOCALBASE}/bin/flex -OPTIONS= MKFONT "Build grub-mkfont (require freetype2)" off +OPTIONS_DEFINE= MKFONT +MKFONT_DESC= Build grub-mkfont (require freetype2) +OPTIONS_DEFAULT= MAN1= grub-editenv.1 grub-mklayout.1 grub-mkpasswd-pbkdf2.1 \ grub-fstest.1 grub-script-check.1 grub-kbdcomp.1 \ @@ -42,7 +46,7 @@ .include -.if defined(WITH_MKFONT) +.if ${PORT_OPTIONS:MMKFONT} LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 .else MKFONT= "@comment " diff -urN grub2.orig2/pkg-message grub2.orig3/pkg-message --- grub2.orig2/pkg-message 2010-06-11 20:06:20.000000000 +0900 +++ grub2.orig3/pkg-message 2012-09-12 19:36:35.000000000 +0900 @@ -4,7 +4,7 @@ A typical menu entry in /boot/grub/grub.cfg for FreeBSD: menuentry "FreeBSD" { - set root(hd0,1,a) + set root="(hd0,msdos1,bsd1)" kfreebsd /boot/loader } Or use grub-mkconfig to create the config file.