aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase3/Makefile')
-rw-r--r--x11/kdebase3/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index 395006983427..ae01a351e0da 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/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