summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-06 15:27:06 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-06 15:27:06 +0000
commit78e51b56caf95022e2d76f3b0cd3bcd62b3d1115 (patch)
tree553bd99565cbe2679dc2201d7d288fa92aff4222
parent188e132d0c0fbb57ba19e65df9f614478c5400de (diff)
downloadpkgsrc-78e51b56caf95022e2d76f3b0cd3bcd62b3d1115.tar.gz
Add patch to allow cross-compilation of packaging using the
LINUXDOC macro. Bump revision.
-rw-r--r--devel/xorg-util-macros/Makefile3
-rw-r--r--devel/xorg-util-macros/distinfo12
-rw-r--r--devel/xorg-util-macros/patches/patch-aa24
3 files changed, 28 insertions, 11 deletions
diff --git a/devel/xorg-util-macros/Makefile b/devel/xorg-util-macros/Makefile
index ea6c371cc2e..027379e830f 100644
--- a/devel/xorg-util-macros/Makefile
+++ b/devel/xorg-util-macros/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/04/10 23:33:13 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/06 15:27:06 joerg Exp $
#
DISTNAME= util-macros-1.1.5
PKGNAME= xorg-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/util/
EXTRACT_SUFX= .tar.bz2
diff --git a/devel/xorg-util-macros/distinfo b/devel/xorg-util-macros/distinfo
index 95ef4976a5e..0c31f38b697 100644
--- a/devel/xorg-util-macros/distinfo
+++ b/devel/xorg-util-macros/distinfo
@@ -1,14 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/04/10 23:33:13 joerg Exp $
+$NetBSD: distinfo,v 1.2 2007/08/06 15:27:06 joerg Exp $
SHA1 (util-macros-1.1.5.tar.bz2) = c4bbfa389df7e5f568599d6313f2460a381f0502
RMD160 (util-macros-1.1.5.tar.bz2) = fb9702eb898520fd70b1e7cdc70e2e6e78610a1e
Size (util-macros-1.1.5.tar.bz2) = 47165 bytes
-SHA1 (patch-aa) = afe809bcc5d93be3b8a74e720faf2dc1daa4634d
-SHA1 (patch-ab) = 42fb5238ca07a25d54069aca72882fd36fb118cc
-SHA1 (patch-ac) = 7ed4cd5b33759736d86cdb6226ef53a42bbf7d7e
-SHA1 (patch-ad) = 12c918ad85fa44518525d2c4bc628b342b8c0280
-SHA1 (patch-ae) = bc41dbcfdb45fce8be152cd2ea275954d4aad935
-SHA1 (patch-af) = 6fdcbcb8858bd82d260d00563980e80e314b899c
-SHA1 (patch-ag) = f2e665cc6e67cf2f687652b9adeab0a0de816729
-SHA1 (patch-ah) = f329f44a81c49ba66e8da197ab99a53172a1d247
-SHA1 (patch-ai) = a0795dcd3442471a58c77c667b3eeb50d7bb47bb
+SHA1 (patch-aa) = e4c407804f80c4cdbfeac502551164284c60c4ae
diff --git a/devel/xorg-util-macros/patches/patch-aa b/devel/xorg-util-macros/patches/patch-aa
new file mode 100644
index 00000000000..639e265e4c7
--- /dev/null
+++ b/devel/xorg-util-macros/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1 2007/08/06 15:27:07 joerg Exp $
+
+--- xorg-macros.m4.in.orig 2006-11-08 15:23:10.000000000 +0100
++++ xorg-macros.m4.in
+@@ -194,7 +194,8 @@ AC_DEFUN([XORG_CHECK_LINUXDOC],[
+ XORG_SGML_PATH=$prefix/share/sgml
+ HAVE_DEFS_ENT=
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
++AS_IF([test "$cross_compiling" = no],
++ AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]))
+
+ AC_PATH_PROG(LINUXDOC, linuxdoc)
+ AC_PATH_PROG(PS2PDF, ps2pdf)
+@@ -250,7 +251,8 @@ BUILDPDFDOC=no
+ BUILDPSDOC=no
+ BUILDHTMLDOC=no
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
++AS_IF([test "$cross_compiling" = no],
++ AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]))
+
+ AC_PATH_PROG(DOCBOOKPS, docbook2ps)
+ AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)