aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/linux-pango
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2008-11-28 17:18:32 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2008-11-28 17:18:32 +0000
commitdd0ee54b31d9684ba5d1415acf187dd16bc53760 (patch)
tree7bcb7102f4ea69c064b30d517917f408626bdbc0 /x11-toolkits/linux-pango
parente5d4668a05e3e237aa251a086144cc1b7124bcb5 (diff)
downloadports-dd0ee54b31d9684ba5d1415acf187dd16bc53760.tar.gz
ports-dd0ee54b31d9684ba5d1415acf187dd16bc53760.zip
linux_base-(fc6|f7|f8) have glib2 by itself. Don't depend upon
linux-glib2 when OVERRIDE_LINUX_BASE_PORT is set to them.
Notes
Notes: svn path=/head/; revision=223498
Diffstat (limited to 'x11-toolkits/linux-pango')
-rw-r--r--x11-toolkits/linux-pango/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-toolkits/linux-pango/Makefile b/x11-toolkits/linux-pango/Makefile
index 2e60b92a475d..81b6181026b6 100644
--- a/x11-toolkits/linux-pango/Makefile
+++ b/x11-toolkits/linux-pango/Makefile
@@ -17,8 +17,13 @@ MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT= Linux pango binary
# these libraries are required by pango-querymodules
-RUN_DEPENDS= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
- ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
+.if !defined(OVERRIDE_LINUX_BASE_PORT) || \
+ (${OVERRIDE_LINUX_BASE_PORT} != "fc6" && \
+ ${OVERRIDE_LINUX_BASE_PORT} != "f7" && \
+ ${OVERRIDE_LINUX_BASE_PORT} != "f8")
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2
+.endif
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
${LINUXBASE}/usr/lib/libcairo.so.2.2.3:${PORTSDIR}/graphics/linux-cairo \
${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat