Assume that libXft provides Xft support for non-native X11.

This commit is contained in:
joerg 2007-06-15 16:29:15 +00:00
parent f6620d8b39
commit 46f68c2df8

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.18 2007/03/31 22:51:24 ghen Exp $ # $NetBSD: Makefile.common,v 1.19 2007/06/15 16:29:15 joerg Exp $
MOZ_DIST_VER?= ${MOZ_VER} MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-${MOZ_DIST_VER}-source DISTNAME?= mozilla-${MOZ_DIST_VER}-source
@ -211,7 +211,7 @@ CONFIGURE_ARGS+= --without-pthreads
CONFIGURE_ARGS+= --with-pthreads CONFIGURE_ARGS+= --with-pthreads
.endif .endif
.if ${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h) .if (${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h)) || ${X11_TYPE} != "native"
CONFIGURE_ARGS+= --enable-xft CONFIGURE_ARGS+= --enable-xft
# pkgconfig defaults to a "build" dependency, which is what we want. # pkgconfig defaults to a "build" dependency, which is what we want.
.include "../../x11/libXft/buildlink3.mk" .include "../../x11/libXft/buildlink3.mk"