diff options
Diffstat (limited to 'x11-fonts/webfonts/Makefile')
-rw-r--r-- | x11-fonts/webfonts/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile index e96315a32eba..7f2810493691 100644 --- a/x11-fonts/webfonts/Makefile +++ b/x11-fonts/webfonts/Makefile @@ -34,7 +34,7 @@ USE_X_PREFIX= yes .include <bsd.port.pre.mk> -.if ${XFREE86_VERSION} == 3 +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 RUN_DEPENDS= xfstt:${PORTSDIR}/x11-servers/Xfstt .endif @@ -54,7 +54,7 @@ PLIST_SUB= PKG_OLDXF86=${PKG_OLDXF86} \ MSG_FILE= ${PKGDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -.if ${XFREE86_VERSION} == 3 +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 OLDXF86= .else OLDXF86= "@comment " @@ -179,7 +179,7 @@ install-fonts: post-install: truetype-link display-message truetype-link: -.if ${XFREE86_VERSION} == 3 +.if ${X_WINDOW_SYSTEM:L} == xfree86-3 ${LN} -fs ${FONTSDIR} ${TTFONTSDIR}/${FONTNAME} .endif |