From e7163ba4eac976dfd0654cad4872ddae260ff097 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 15 Aug 2007 16:34:12 +0000 Subject: Disable SGML check to allow cross-compiling. --- x11/xf86-video-cyrix/patches/patch-aa | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 x11/xf86-video-cyrix/patches/patch-aa (limited to 'x11/xf86-video-cyrix/patches') diff --git a/x11/xf86-video-cyrix/patches/patch-aa b/x11/xf86-video-cyrix/patches/patch-aa new file mode 100644 index 00000000000..cbe5b2ac023 --- /dev/null +++ b/x11/xf86-video-cyrix/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1 2007/08/15 16:34:12 joerg Exp $ + +--- configure.orig 2007-08-15 18:28:43.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