summaryrefslogtreecommitdiff
path: root/x11/kde2
diff options
context:
space:
mode:
authormarkd <markd>2002-02-25 13:03:31 +0000
committermarkd <markd>2002-02-25 13:03:31 +0000
commitb19fe08af3eddb64108b8da2a03a3075bf00c777 (patch)
tree1399deef581711aef7e24af88cbc68b0ca920ec1 /x11/kde2
parent47437cb51573e681ef2d78b79ddcc9338d92a74f (diff)
downloadpkgsrc-b19fe08af3eddb64108b8da2a03a3075bf00c777.tar.gz
Enable Xinerama support if the X tree has the required shared library.
Diffstat (limited to 'x11/kde2')
-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}"