aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.xorg.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 07:19:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 07:19:51 +0000
commit4b5be23683a0e0e822868f329e18b5ef1c58bed4 (patch)
treecbf7118fbd91bcd76d039218dd833258fe9e4271 /Mk/bsd.xorg.mk
parent0caa9545e3bcda69376fc18927ab217d5e5e7b9c (diff)
downloadports-4b5be23683a0e0e822868f329e18b5ef1c58bed4.tar.gz
ports-4b5be23683a0e0e822868f329e18b5ef1c58bed4.zip
Notes
Diffstat (limited to 'Mk/bsd.xorg.mk')
-rw-r--r--Mk/bsd.xorg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.xorg.mk b/Mk/bsd.xorg.mk
index 72427c95bb3c..f3f8ebc563e5 100644
--- a/Mk/bsd.xorg.mk
+++ b/Mk/bsd.xorg.mk
@@ -72,10 +72,12 @@ USES+= libtool
FONTNAME?= ${PORTNAME:C/.*-//g:S/type/Type/:S/ttf/TTF/:S/speedo/Speedo/}
CONFIGURE_ARGS+= --with-fontrootdir=${PREFIX}/lib/X11/fonts
CONFIGURE_ENV+= FONTROOTDIR=${PREFIX}/lib/X11/fonts
+. if !defined(NOFONT)
USES+= fonts
BUILD_DEPENDS+= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
-.endif
+. endif
+. endif
. if ${XORG_CAT} == "lib"
USES+= pathfix libtool:keepla