summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn>2008-07-14 04:03:01 +0000
committertnn <tnn>2008-07-14 04:03:01 +0000
commit53c96b04e13e15521e3d1c93e5ba72b410eeeefc (patch)
treeef90427f288345869d9872c812e09cd303d01c5e
parent61df7f7fa91dc1e81e4e97ae0a4ef0eb5fecaf4d (diff)
downloadpkgsrc-53c96b04e13e15521e3d1c93e5ba72b410eeeefc.tar.gz
Import xf86-video-r128-6.8.0 as x11/xf86-video-r128.
This is the video driver for ATI Rage128 cards for the modular Xorg server.
-rw-r--r--x11/xf86-video-r128/DESCR1
-rw-r--r--x11/xf86-video-r128/Makefile36
-rw-r--r--x11/xf86-video-r128/PLIST6
-rw-r--r--x11/xf86-video-r128/distinfo6
-rw-r--r--x11/xf86-video-r128/patches/patch-aa29
5 files changed, 78 insertions, 0 deletions
diff --git a/x11/xf86-video-r128/DESCR b/x11/xf86-video-r128/DESCR
new file mode 100644
index 00000000000..52073b61fff
--- /dev/null
+++ b/x11/xf86-video-r128/DESCR
@@ -0,0 +1 @@
+This is the video driver for ATI Rage128 cards for the modular Xorg server.
diff --git a/x11/xf86-video-r128/Makefile b/x11/xf86-video-r128/Makefile
new file mode 100644
index 00000000000..47d547a45a1
--- /dev/null
+++ b/x11/xf86-video-r128/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 04:03:01 tnn Exp $
+
+DISTNAME= xf86-video-r128-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 Rage128 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-r128/PLIST b/x11/xf86-video-r128/PLIST
new file mode 100644
index 00000000000..3d1a9ef05ed
--- /dev/null
+++ b/x11/xf86-video-r128/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/07/14 04:03:01 tnn Exp $
+lib/xorg/modules/drivers/r128_drv.la
+man/man4/r128.4
+@comment @dirrm lib/xorg/modules/drivers
+@comment @dirrm lib/xorg/modules
+@comment @dirrm lib/xorg
diff --git a/x11/xf86-video-r128/distinfo b/x11/xf86-video-r128/distinfo
new file mode 100644
index 00000000000..186bc897378
--- /dev/null
+++ b/x11/xf86-video-r128/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/14 04:03:01 tnn Exp $
+
+SHA1 (xf86-video-r128-6.8.0.tar.bz2) = a94f3014a139d5c469622723192aaf1626e6470b
+RMD160 (xf86-video-r128-6.8.0.tar.bz2) = eaaed06d882cea79512a35b9b66947a1780e3583
+Size (xf86-video-r128-6.8.0.tar.bz2) = 409166 bytes
+SHA1 (patch-aa) = d690fd7f15c3c69d03cf00685dd10de7b8b27c91
diff --git a/x11/xf86-video-r128/patches/patch-aa b/x11/xf86-video-r128/patches/patch-aa
new file mode 100644
index 00000000000..4fd79692432
--- /dev/null
+++ b/x11/xf86-video-r128/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/07/14 04:03:01 tnn Exp $
+
+--- configure.orig 2008-06-12 01:20:13.000000000 +0200
++++ configure
+@@ -20989,23 +20989,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; }