From 2111f68308d86f52a9125207506d69539e0e1315 Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Mon, 3 Feb 2003 12:35:58 +0000 Subject: kdebase uses libfontconfig if it finds it. add dependency. Submitted by: Arjan van Leeuwen --- x11/kdebase4-workspace/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'x11/kdebase4-workspace') diff --git a/x11/kdebase4-workspace/Makefile b/x11/kdebase4-workspace/Makefile index 395006983427..ae01a351e0da 100644 --- a/x11/kdebase4-workspace/Makefile +++ b/x11/kdebase4-workspace/Makefile @@ -61,6 +61,14 @@ pre-extract:: @${ECHO_MSG} .endif # defined(WITH_MOTIF) +.if exists(${X11BASE}/lib/libfontconfig.so.1) +WITH_FONTCONFIG=yes +.endif + +.if defined(WITH_FONTCONFIG) +LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig +.endif + .if defined(WITH_XINERAMA) XINERAMA= -with-xinerama PKGNAMESUFFIX= -xinerama -- cgit v1.2.3