# HG changeset patch
# User Clemens Buchacher
# Date 1368087792 -7200
# Thu May 09 10:23:12 2013 +0200
# Branch build-texinfo
# Node ID 3f9e7c027f0eee930a5d7c957b5ebc56aa4e92fe
# Parent 3392e7d0cbf232a10db83a03335919e509dcbe02
build texinfo 4.13 for build system
Texinfo 5.x conflicts with gcc 4.7.2.
diff -r 3392e7d0cbf2 -r 3f9e7c027f0e Makefile
--- a/Makefile Mon Apr 22 00:51:17 2013 -0400
+++ b/Makefile Thu May 09 10:23:12 2013 +0200
@@ -42,7 +42,7 @@
LIBTOOL := libtool
LIBTOOLIZE := libtoolize
-BUILD_TOOLS := build-autoconf build-automake build-cmake build-libtool build-pkg-config
+BUILD_TOOLS := build-autoconf build-automake build-cmake build-libtool build-pkg-config build-texinfo
PREFIX := $(PWD)/usr
LOG_DIR := $(PWD)/log
diff -r 3392e7d0cbf2 -r 3f9e7c027f0e index.html
--- a/index.html Mon Apr 22 00:51:17 2013 -0400
+++ b/index.html Thu May 09 10:23:12 2013 +0200
@@ -994,6 +994,11 @@
pkg-config |
+ texinfo |
+ 4.13a |
+ GNU Texinfo |
+
+
bzip2 |
1.0.6 |
bzip2 |
diff -r 3392e7d0cbf2 -r 3f9e7c027f0e src/build-texinfo.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/build-texinfo.mk Thu May 09 10:23:12 2013 +0200
@@ -0,0 +1,24 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := build-texinfo
+$(PKG)_IGNORE :=
+$(PKG)_CHECKSUM := a1533cf8e03ea4fa6c443b73f4c85e4da04dead0
+$(PKG)_SUBDIR := texinfo-4.13
+$(PKG)_FILE := texinfo-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := ftp://ftp.gnu.org/gnu/texinfo/$($(PKG)_FILE)
+$(PKG)_DEPS :=
+
+define $(PKG)_UPDATE
+ echo 'Warning: Updates are temporarily disabled for package texinfo.' >&2;
+ echo $(texinfo_VERSION)
+endef
+
+define $(PKG)_BUILD
+ mkdir '$(1)/.build'
+ cd '$(1)/.build' && '$(1)/configure' \
+ --prefix='$(PREFIX)'
+
+ $(MAKE) -C '$(1)/.build' -j '$(JOBS)'
+ $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install
+endef