summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2002-02-25 13:03:31 +0000
committermarkd <markd@pkgsrc.org>2002-02-25 13:03:31 +0000
commit02ffaa6d7966cafe6d51bc04a982faf5c4c06dcd (patch)
tree1399deef581711aef7e24af88cbc68b0ca920ec1 /x11
parentdf37af05ce5d731f3ee014f9303a2da203f88b25 (diff)
downloadpkgsrc-02ffaa6d7966cafe6d51bc04a982faf5c4c06dcd.tar.gz
Enable Xinerama support if the X tree has the required shared library.
Diffstat (limited to 'x11')
-rw-r--r--x11/kde2/buildlink.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/kde2/buildlink.mk b/x11/kde2/buildlink.mk
index 6f00ccfd522..0828a3319c7 100644
--- a/x11/kde2/buildlink.mk
+++ b/x11/kde2/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.3 2001/12/07 07:21:30 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.4 2002/02/25 13:03:31 markd Exp $
#
# This Makefile fragment is included by packages that use the KDE2
# configure-and-build process.
@@ -73,6 +73,9 @@ CONFIGURE_ARGS+= --datadir="${KDEDIR}/share/kde"
CONFIGURE_ARGS+= --with-qt-dir="${BUILDLINK_QTDIR}"
CONFIGURE_ARGS+= --with-extra-includes="${_KDE2_EXTRA_INCLUDES}"
CONFIGURE_ARGS+= --disable-rpath
+.if exists(${X11BASE}/lib/libXinerama.so)
+CONFIGURE_ARGS+= --with-xinerama
+.endif
CONFIGURE_ENV+= UIC="${QTDIR}/bin/uic"
CONFIGURE_ENV+= USER_LDFLAGS="${LDFLAGS}"