summaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-02-03 12:35:58 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-02-03 12:35:58 +0000
commit2111f68308d86f52a9125207506d69539e0e1315 (patch)
tree1cfbab68e07b73bbadc5f4736e3338d75bceedbe /x11/kdebase4-runtime
parentUpdate to 1.0.4. (diff)
kdebase uses libfontconfig if it finds it. add dependency.
Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com>
Notes
Notes: svn path=/head/; revision=74568
Diffstat (limited to 'x11/kdebase4-runtime')
-rw-r--r--x11/kdebase4-runtime/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/Makefile b/x11/kdebase4-runtime/Makefile
index 395006983427..ae01a351e0da 100644
--- a/x11/kdebase4-runtime/Makefile
+++ b/x11/kdebase4-runtime/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