aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/grub2/Makefile
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-04-19 01:03:05 +0800
committernox <nox@FreeBSD.org>2014-04-19 01:03:05 +0800
commitb6937486f4e76190e2a021a1f3e1a67864d69796 (patch)
treef299d1fc559371062b1eb9d1fd4a1dcb884af83a /sysutils/grub2/Makefile
parentc1e63543e979924025cf15008fc5b1fd293473e0 (diff)
downloadfreebsd-ports-gnome-b6937486f4e76190e2a021a1f3e1a67864d69796.tar.gz
freebsd-ports-gnome-b6937486f4e76190e2a021a1f3e1a67864d69796.tar.zst
freebsd-ports-gnome-b6937486f4e76190e2a021a1f3e1a67864d69796.zip
Fix build with MKFONT and without it but with (updated) freetype present.
PR: ports/187984 [1], ports/188526 [2] Submitted by: Joseph Mingrone <jrm@ftfl.ca> [1] Submitted by: Andrey Zholos <aaz@q-fu.com> [2]
Diffstat (limited to 'sysutils/grub2/Makefile')
-rw-r--r--sysutils/grub2/Makefile2
1 files changed, 2 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