diff options
author | Juergen Lock <nox@FreeBSD.org> | 2014-04-18 17:03:05 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2014-04-18 17:03:05 +0000 |
commit | 5a9e3a5b0ab7312ddc83021183f49e8cf282c7e8 (patch) | |
tree | f299d1fc559371062b1eb9d1fd4a1dcb884af83a /sysutils/grub2 | |
parent | 8b47580e61de5da219889e318ab018c43151cd7a (diff) | |
download | ports-5a9e3a5b0ab7312ddc83021183f49e8cf282c7e8.tar.gz ports-5a9e3a5b0ab7312ddc83021183f49e8cf282c7e8.zip |
Notes
Diffstat (limited to 'sysutils/grub2')
-rw-r--r-- | sysutils/grub2/Makefile | 2 | ||||
-rw-r--r-- | sysutils/grub2/files/patch-util-grub-mkfont.c | 13 |
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[] = { + + |