From 66ea1c24429be52cc384467eece9f0026c2d2a53 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 15 Aug 2007 19:41:30 +0000 Subject: Disable SGML check to allow cross-compiling. --- x11/xf86-video-i740/distinfo | 3 ++- x11/xf86-video-i740/patches/patch-aa | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 x11/xf86-video-i740/patches/patch-aa diff --git a/x11/xf86-video-i740/distinfo b/x11/xf86-video-i740/distinfo index 38227850842..0aa85b0027a 100644 --- a/x11/xf86-video-i740/distinfo +++ b/x11/xf86-video-i740/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/03/22 15:43:34 joerg Exp $ +$NetBSD: distinfo,v 1.2 2007/08/15 19:41:30 joerg Exp $ SHA1 (xf86-video-i740-1.1.0.tar.bz2) = 99575052e29236d50db23d093a30ba0047d78e43 RMD160 (xf86-video-i740-1.1.0.tar.bz2) = 2808f24203f756674ef8c9536aad95fb0ad17969 Size (xf86-video-i740-1.1.0.tar.bz2) = 258461 bytes +SHA1 (patch-aa) = a2d7f1d6f3e3a8221f87c627d24c6cb4e3dba7a4 diff --git a/x11/xf86-video-i740/patches/patch-aa b/x11/xf86-video-i740/patches/patch-aa new file mode 100644 index 00000000000..355326d6315 --- /dev/null +++ b/x11/xf86-video-i740/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1 2007/08/15 19:41:31 joerg Exp $ + +--- configure.orig 2007-08-15 21:29:20.000000000 +0200 ++++ configure +@@ -20267,16 +20267,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 -- cgit v1.2.3