aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase3
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/kdebase3
parente05a4a33bd3082b066bbf30a621fc5218c22155c (diff)
downloadfreebsd-ports-gnome-84f4a140e652fbd4886e9983d0d643d898f67838.tar.gz
freebsd-ports-gnome-84f4a140e652fbd4886e9983d0d643d898f67838.tar.zst
freebsd-ports-gnome-84f4a140e652fbd4886e9983d0d643d898f67838.zip
kdebase uses libfontconfig if it finds it. add dependency.
Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com>
Diffstat (limited to 'x11/kdebase3')
-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