summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/Makefile.common
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-01-29 10:32:50 +0000
committerjoerg <joerg@pkgsrc.org>2007-01-29 10:32:50 +0000
commitbd0afbd401a1a4f95b3cb0c6c996ecb12865aece (patch)
treeb2e9ef09a545ae4e916cd45689f470c51d7b8e85 /multimedia/xine-lib/Makefile.common
parentf185187a9e4b09b3e6470ecc48bf260ac193b166 (diff)
downloadpkgsrc-bd0afbd401a1a4f95b3cb0c6c996ecb12865aece.tar.gz
Modular Xorg support.
Diffstat (limited to 'multimedia/xine-lib/Makefile.common')
-rw-r--r--multimedia/xine-lib/Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/xine-lib/Makefile.common b/multimedia/xine-lib/Makefile.common
index 9c763a17f06..86edf42cc75 100644
--- a/multimedia/xine-lib/Makefile.common
+++ b/multimedia/xine-lib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.37 2006/12/08 18:47:41 drochner Exp $
+# $NetBSD: Makefile.common,v 1.38 2007/01/29 10:32:50 joerg Exp $
#
DISTNAME= xine-lib-${XINE_LIB_VER}
@@ -32,7 +32,10 @@ PKGSRC_MAKE_ENV+= "mkdir_p"="mkdir -p"
.include "../../mk/bsd.prefs.mk"
-.if !exists(${X11BASE}/lib/libXv.so)
+.if ${X11_TYPE} != "native"
+.include "../../x11/libXv/buildlink3.mk"
+PLIST_SUBST+= HAVE_XV=
+.elif !exists(${X11BASE}/lib/libXv.so)
PLIST_SUBST+= HAVE_XV="@comment "
.else
CONFIGURE_ARGS+= --with-xv-path='${X11BASE}/lib'