aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-workspace
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-02-03 20:35:58 +0800
committeralane <alane@FreeBSD.org>2003-02-03 20:35:58 +0800
commit84f4a140e652fbd4886e9983d0d643d898f67838 (patch)
tree604d55b6c2cfe72bf020a7569d3345cf11df1914 /x11/kdebase4-workspace
parente05a4a33bd3082b066bbf30a621fc5218c22155c (diff)
downloadfreebsd-ports-graphics-84f4a140e652fbd4886e9983d0d643d898f67838.tar.gz
freebsd-ports-graphics-84f4a140e652fbd4886e9983d0d643d898f67838.tar.zst
freebsd-ports-graphics-84f4a140e652fbd4886e9983d0d643d898f67838.zip
kdebase uses libfontconfig if it finds it. add dependency.
Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com>
Diffstat (limited to 'x11/kdebase4-workspace')
-rw-r--r--x11/kdebase4-workspace/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/kdebase4-workspace/Makefile b/x11/kdebase4-workspace/Makefile
index 39500698342..ae01a351e0d 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