aboutsummaryrefslogtreecommitdiff
path: root/sysutils/grub2
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-04-18 17:03:05 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-04-18 17:03:05 +0000
commit5a9e3a5b0ab7312ddc83021183f49e8cf282c7e8 (patch)
treef299d1fc559371062b1eb9d1fd4a1dcb884af83a /sysutils/grub2
parent8b47580e61de5da219889e318ab018c43151cd7a (diff)
downloadports-5a9e3a5b0ab7312ddc83021183f49e8cf282c7e8.tar.gz
ports-5a9e3a5b0ab7312ddc83021183f49e8cf282c7e8.zip
Notes
Diffstat (limited to 'sysutils/grub2')
-rw-r--r--sysutils/grub2/Makefile2
-rw-r--r--sysutils/grub2/files/patch-util-grub-mkfont.c13
2 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/grub2/Makefile b/sysutils/grub2/Makefile
index 777eecde9ae3..9d5acbe263c3 100644
--- a/sysutils/grub2/Makefile
+++ b/sysutils/grub2/Makefile
@@ -48,7 +48,9 @@ PLIST_SUB+= EFIEMU=${EFIEMU}
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
BUILD_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu
MAN1+= grub-mkfont.1
+CONFIGURE_ARGS+= --enable-grub-mkfont
.else
+CONFIGURE_ARGS+= --disable-grub-mkfont
MKFONT= "@comment "
.endif
diff --git a/sysutils/grub2/files/patch-util-grub-mkfont.c b/sysutils/grub2/files/patch-util-grub-mkfont.c
new file mode 100644
index 000000000000..36ed69c1f538
--- /dev/null
+++ b/sysutils/grub2/files/patch-util-grub-mkfont.c
@@ -0,0 +1,13 @@
+--- util/grub-mkfont.c.orig
++++ util/grub-mkfont.c
+@@ -39,7 +39,7 @@
+ #include FT_FREETYPE_H
+ #include FT_TRUETYPE_TAGS_H
+ #include FT_TRUETYPE_TABLES_H
+-#include <freetype/ftsynth.h>
++#include FT_SYNTHESIS_H
+
+ #undef __FTERRORS_H__
+ #define FT_ERROR_START_LIST const char *ft_errmsgs[] = {
+
+