summaryrefslogtreecommitdiffstats
path: root/x11/kde4-baseapps
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-02-03 12:35:58 +0000
committeralane <alane@FreeBSD.org>2003-02-03 12:35:58 +0000
commit84f4a140e652fbd4886e9983d0d643d898f67838 (patch)
tree604d55b6c2cfe72bf020a7569d3345cf11df1914 /x11/kde4-baseapps
parente05a4a33bd3082b066bbf30a621fc5218c22155c (diff)
downloadFreeBSD-ports-84f4a140e652fbd4886e9983d0d643d898f67838.zip
FreeBSD-ports-84f4a140e652fbd4886e9983d0d643d898f67838.tar.gz
kdebase uses libfontconfig if it finds it. add dependency.
Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com>
Diffstat (limited to 'x11/kde4-baseapps')
-rw-r--r--x11/kde4-baseapps/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index 3950069..ae01a35 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/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
OpenPOWER on IntegriCloud