pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-ati Change configure to check for DRI h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69e986c25820
branches:  trunk
changeset: 532290:69e986c25820
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 15 18:16:35 2007 +0000

description:
Change configure to check for DRI headers only, if it is not explicitly
enabled or disabled. Request DRI explicitly. Disable the SGML check.

diffstat:

 x11/xf86-video-ati/Makefile         |   4 ++-
 x11/xf86-video-ati/distinfo         |   4 ++-
 x11/xf86-video-ati/patches/patch-ab |  13 ++++++++++++
 x11/xf86-video-ati/patches/patch-ac |  39 +++++++++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+), 2 deletions(-)

diffs (91 lines):

diff -r 6deee1bd4f82 -r 69e986c25820 x11/xf86-video-ati/Makefile
--- a/x11/xf86-video-ati/Makefile       Wed Aug 15 18:10:01 2007 +0000
+++ b/x11/xf86-video-ati/Makefile       Wed Aug 15 18:16:35 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/04/10 19:10:54 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2007/08/15 18:16:35 joerg Exp $
 
 DISTNAME=      xf86-video-ati-6.6.3
 PKGREVISION=   1
@@ -11,6 +11,8 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+CONFIGURE_ARGS+=       --enable-dri
+
 USE_LIBTOOL=   YES
 GNU_CONFIGURE= YES
 USE_TOOLS+=    gmake pkg-config
diff -r 6deee1bd4f82 -r 69e986c25820 x11/xf86-video-ati/distinfo
--- a/x11/xf86-video-ati/distinfo       Wed Aug 15 18:10:01 2007 +0000
+++ b/x11/xf86-video-ati/distinfo       Wed Aug 15 18:16:35 2007 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2007/04/10 19:10:54 joerg Exp $
+$NetBSD: distinfo,v 1.3 2007/08/15 18:16:35 joerg Exp $
 
 SHA1 (xf86-video-ati-6.6.3.tar.bz2) = b911df1f4b41ad37028c708e2c95e5a729a32ede
 RMD160 (xf86-video-ati-6.6.3.tar.bz2) = a1c24c13ea88fa38f34e3f0540b53082ab2ae129
 Size (xf86-video-ati-6.6.3.tar.bz2) = 723083 bytes
 SHA1 (patch-aa) = 0f8a8514f58c0b535e8d7048025ebfaf097f53a0
+SHA1 (patch-ab) = 55cf92081fbeae3896d0621a5907ebfbfbdc4e84
+SHA1 (patch-ac) = be2ab226f2ad3cda36f8ff233d7e43b6f9260497
diff -r 6deee1bd4f82 -r 69e986c25820 x11/xf86-video-ati/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-ati/patches/patch-ab       Wed Aug 15 18:16:35 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/08/15 18:16:35 joerg Exp $
+
+--- configure.ac.orig  2007-08-15 20:12:28.000000000 +0200
++++ configure.ac
+@@ -84,7 +84,7 @@ sdkdir=$(pkg-config --variable=sdkdir xo
+ # Checks for header files.
+ AC_HEADER_STDC
+ 
+-if test "$DRI" != no; then
++if test "x$DRI" = xauto; then
+       AC_CHECK_FILE([${sdkdir}/dri.h],
+                       [have_dri_h="yes"], [have_dri_h="no"])
+       AC_CHECK_FILE([${sdkdir}/sarea.h],
diff -r 6deee1bd4f82 -r 69e986c25820 x11/xf86-video-ati/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-ati/patches/patch-ac       Wed Aug 15 18:16:35 2007 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-ac,v 1.1 2007/08/15 18:16:35 joerg Exp $
+
+--- configure.orig     2006-10-03 17:02:18.000000000 +0200
++++ configure
+@@ -20261,7 +20261,7 @@ _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
+@@ -20982,16 +20982,8 @@ echo $ECHO_N "checking for $prefix/share
+ if eval "test \"\${$as_ac_File+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 "$prefix/share/X11/sgml/defs.ent"; then
+-  eval "$as_ac_File=yes"
+-else
+   eval "$as_ac_File=no"
+ fi
+-fi
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
+ if test `eval echo '${'$as_ac_File'}'` = yes; then
+@@ -21694,6 +21686,8 @@ do
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++      : Avoid regenerating within pkgsrc
++      exit 0
+     ac_cs_recheck=: ;;
+   --version | --vers* | -V )
+     echo "$ac_cs_version"; exit 0 ;;



Home | Main Index | Thread Index | Old Index