summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-07-14 04:02:10 +0000
committertnn <tnn@pkgsrc.org>2008-07-14 04:02:10 +0000
commit834c68e39ce3855785c3b392ec17c42d08dc4a9a (patch)
treeea6a17c61ebaa7a00e53fa2de0e1e2a794d4d82c
parent1bedf1f4793a645f67c464e756cbdb6cd5e45745 (diff)
downloadpkgsrc-834c68e39ce3855785c3b392ec17c42d08dc4a9a.tar.gz
Import xf86-video-mach64-6.8.0 as x11/xf86-video-mach64.
This is the video driver for ATI Mach64 cards for the modular Xorg server.
-rw-r--r--x11/xf86-video-mach64/DESCR1
-rw-r--r--x11/xf86-video-mach64/Makefile36
-rw-r--r--x11/xf86-video-mach64/PLIST5
-rw-r--r--x11/xf86-video-mach64/distinfo6
-rw-r--r--x11/xf86-video-mach64/patches/patch-aa29
5 files changed, 77 insertions, 0 deletions
diff --git a/x11/xf86-video-mach64/DESCR b/x11/xf86-video-mach64/DESCR
new file mode 100644
index 00000000000..6afcc494c68
--- /dev/null
+++ b/x11/xf86-video-mach64/DESCR
@@ -0,0 +1 @@
+This is the video driver for ATI Mach64 cards for the modular Xorg server.
diff --git a/x11/xf86-video-mach64/Makefile b/x11/xf86-video-mach64/Makefile
new file mode 100644
index 00000000000..a4232442c0a
--- /dev/null
+++ b/x11/xf86-video-mach64/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 04:02:10 tnn Exp $
+
+DISTNAME= xf86-video-mach64-6.8.0
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= joerg@NetBSD.org
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= Modular Xorg ATI Mach64 video driver
+
+CONFLICTS= xf86-video-ati<6.9.0
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --enable-dri
+
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+USE_TOOLS+= gmake pkg-config
+
+.include "../../x11/modular-xorg-server/buildlink3.mk"
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../x11/fontsproto/buildlink3.mk"
+.include "../../x11/glproto/buildlink3.mk"
+.include "../../x11/libdrm/buildlink3.mk"
+.include "../../x11/randrproto/buildlink3.mk"
+.include "../../x11/renderproto/buildlink3.mk"
+.include "../../x11/videoproto/buildlink3.mk"
+.include "../../x11/xf86driproto/buildlink3.mk"
+.include "../../x11/xf86miscproto/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xineramaproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xf86-video-mach64/PLIST b/x11/xf86-video-mach64/PLIST
new file mode 100644
index 00000000000..2896cc696d9
--- /dev/null
+++ b/x11/xf86-video-mach64/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/07/14 04:02:10 tnn Exp $
+lib/xorg/modules/drivers/mach64_drv.la
+@comment @dirrm lib/xorg/modules/drivers
+@comment @dirrm lib/xorg/modules
+@comment @dirrm lib/xorg
diff --git a/x11/xf86-video-mach64/distinfo b/x11/xf86-video-mach64/distinfo
new file mode 100644
index 00000000000..69e98420f64
--- /dev/null
+++ b/x11/xf86-video-mach64/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/14 04:02:10 tnn Exp $
+
+SHA1 (xf86-video-mach64-6.8.0.tar.bz2) = 0f130aca927ede0fd3ed7876c52817a5ef9215bb
+RMD160 (xf86-video-mach64-6.8.0.tar.bz2) = 2046c1bd05fe7bb0bbff7a69e8098e422bd47bd3
+Size (xf86-video-mach64-6.8.0.tar.bz2) = 477295 bytes
+SHA1 (patch-aa) = 2bcdb975e14cf73b283e27d63a8b2c11978c4865
diff --git a/x11/xf86-video-mach64/patches/patch-aa b/x11/xf86-video-mach64/patches/patch-aa
new file mode 100644
index 00000000000..9215f8c5293
--- /dev/null
+++ b/x11/xf86-video-mach64/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/07/14 04:02:10 tnn Exp $
+
+--- configure.orig 2008-07-13 17:14:58.000000000 +0200
++++ configure
+@@ -21004,23 +21004,15 @@ _ACEOF
+ fi
+
+
+-if test "$DRI" != no; then
++if test "x$DRI" = xauto; then
+ as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
+ { echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
+ echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
+ if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+- test "$cross_compiling" = yes &&
+- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
+-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
+- { (exit 1); exit 1; }; }
+-if test -r "${sdkdir}/dri.h"; then
+- eval "$as_ac_File=yes"
+-else
+ eval "$as_ac_File=no"
+ fi
+-fi
+ ac_res=`eval echo '${'$as_ac_File'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+ echo "${ECHO_T}$ac_res" >&6; }