summaryrefslogtreecommitdiff
path: root/x11/xf86-video-apm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-15 15:39:23 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-15 15:39:23 +0000
commit4ba5daac339d68495128b68a5af2c372afc94184 (patch)
tree642dde5f9ec3238d9823244f74395f1af609f116 /x11/xf86-video-apm
parentabe17e45e0a2a9da961ebaa93cf1e4789763d7a9 (diff)
downloadpkgsrc-4ba5daac339d68495128b68a5af2c372afc94184.tar.gz
Override SGML entity check to allow cross-compiling.
Diffstat (limited to 'x11/xf86-video-apm')
-rw-r--r--x11/xf86-video-apm/distinfo3
-rw-r--r--x11/xf86-video-apm/patches/patch-aa21
2 files changed, 23 insertions, 1 deletions
diff --git a/x11/xf86-video-apm/distinfo b/x11/xf86-video-apm/distinfo
index f839acbe674..e7f31066656 100644
--- a/x11/xf86-video-apm/distinfo
+++ b/x11/xf86-video-apm/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/03/22 15:42:29 joerg Exp $
+$NetBSD: distinfo,v 1.2 2007/08/15 15:39:23 joerg Exp $
SHA1 (xf86-video-apm-1.1.1.tar.bz2) = 5e0e32f74b50f6834f866aac9a03c22283577ec4
RMD160 (xf86-video-apm-1.1.1.tar.bz2) = f88b459996bf2f087221d1bd1442f8ccafef04de
Size (xf86-video-apm-1.1.1.tar.bz2) = 268210 bytes
+SHA1 (patch-aa) = 04eadd9f043d1f11d64413a3409ccc0f3728902b
diff --git a/x11/xf86-video-apm/patches/patch-aa b/x11/xf86-video-apm/patches/patch-aa
new file mode 100644
index 00000000000..c64c457f8ee
--- /dev/null
+++ b/x11/xf86-video-apm/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2007/08/15 15:39:24 joerg Exp $
+
+--- configure.orig 2007-08-15 17:32:02.000000000 +0200
++++ configure
+@@ -20363,16 +20363,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