pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78584a13dcb3
branches:  trunk
changeset: 532288:78584a13dcb3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 15 18:03:32 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-sis/Makefile         |   4 +++-
 x11/xf86-video-sis/distinfo         |   5 +++--
 x11/xf86-video-sis/patches/patch-aa |  30 ++++++++++++++++++++++++++++--
 x11/xf86-video-sis/patches/patch-ac |  13 +++++++++++++
 4 files changed, 47 insertions(+), 5 deletions(-)

diffs (91 lines):

diff -r f13945756226 -r 78584a13dcb3 x11/xf86-video-sis/Makefile
--- a/x11/xf86-video-sis/Makefile       Wed Aug 15 17:55:41 2007 +0000
+++ b/x11/xf86-video-sis/Makefile       Wed Aug 15 18:03:32 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/03/22 15:44:20 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/15 18:03:32 joerg Exp $
 #
 
 DISTNAME=      xf86-video-sis-0.9.3
@@ -11,6 +11,8 @@
 
 PKG_DESTDIR_SUPPORT=    user-destdir
 
+CONFIGURE_ARGS+=       --enable-dri
+
 USE_LIBTOOL=    yes
 GNU_CONFIGURE=  yes
 USE_TOOLS+=     pkg-config
diff -r f13945756226 -r 78584a13dcb3 x11/xf86-video-sis/distinfo
--- a/x11/xf86-video-sis/distinfo       Wed Aug 15 17:55:41 2007 +0000
+++ b/x11/xf86-video-sis/distinfo       Wed Aug 15 18:03:32 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2007/04/04 13:23:01 joerg Exp $
+$NetBSD: distinfo,v 1.3 2007/08/15 18:03:32 joerg Exp $
 
 SHA1 (xf86-video-sis-0.9.3.tar.bz2) = fb386185a91bbc6764445ef251d4a0216ec9b9d0
 RMD160 (xf86-video-sis-0.9.3.tar.bz2) = 797104eab78486411a876def8e87870946fbe273
 Size (xf86-video-sis-0.9.3.tar.bz2) = 617592 bytes
-SHA1 (patch-aa) = 3783136ffb53afa09a5491bf36caa438c3274aee
+SHA1 (patch-aa) = 068952660754a35ce2662bdb8513b59b81eb65d4
 SHA1 (patch-ab) = 72557e7a7ff406549471bc59570f0fa5074df2a8
+SHA1 (patch-ac) = 6ce332ff427b33c40a25efb86101038510c532ed
diff -r f13945756226 -r 78584a13dcb3 x11/xf86-video-sis/patches/patch-aa
--- a/x11/xf86-video-sis/patches/patch-aa       Wed Aug 15 17:55:41 2007 +0000
+++ b/x11/xf86-video-sis/patches/patch-aa       Wed Aug 15 18:03:32 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/03/22 15:44:20 joerg Exp $
+$NetBSD: patch-aa,v 1.2 2007/08/15 18:03:32 joerg Exp $
 
---- configure.orig     2007-03-22 16:16:34.000000000 +0100
+--- configure.orig     2006-11-30 18:58:33.000000000 +0100
 +++ configure
 @@ -2283,10 +2283,10 @@ AMSHOWCMDSAT=''
  AMDEPSHOWCMDSAT=''
@@ -15,3 +15,29 @@
    AMPRETTYECHO=echo
    AMCMDECHO=true
    LT_QUIET='--quiet'
+@@ -21618,7 +21618,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; }
+@@ -21956,16 +21956,8 @@ echo $ECHO_N "checking for $XORG_SGML_PA
+ 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 "$XORG_SGML_PATH/X11/defs.ent"; 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; }
diff -r f13945756226 -r 78584a13dcb3 x11/xf86-video-sis/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-sis/patches/patch-ac       Wed Aug 15 18:03:32 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/08/15 18:03:32 joerg Exp $
+
+--- configure.ac.orig  2007-08-15 19:56:03.000000000 +0200
++++ configure.ac
+@@ -70,7 +70,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],



Home | Main Index | Thread Index | Old Index