aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/linux-pango/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/linux-pango/Makefile')
-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