summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-03-24 19:29:38 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-03-24 19:29:38 (GMT)
commitecf2e1f5d2bff7ebd6c89343ad0f05d621f3eaf8 (patch)
tree3f5d6d86db127859f22172f31c02a240b1e1a3ca
parente62e78e1bbef68fa3f04f5e91f8994fcd2407d92 (diff)
downloadmxe-ecf2e1f5d2bff7ebd6c89343ad0f05d621f3eaf8.zip
mxe-ecf2e1f5d2bff7ebd6c89343ad0f05d621f3eaf8.tar.gz
mxe-ecf2e1f5d2bff7ebd6c89343ad0f05d621f3eaf8.tar.bz2
project proj: install missing header
--- src/proj-1-fixes.patch | 27 +++++++++++++++++++++++++++ src/proj.mk | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 src/proj-1-fixes.patch
-rw-r--r--src/proj-1-fixes.patch27
-rw-r--r--src/proj.mk2
2 files changed, 29 insertions, 0 deletions
diff --git a/src/proj-1-fixes.patch b/src/proj-1-fixes.patch
new file mode 100644
index 0000000..062e046
--- /dev/null
+++ b/src/proj-1-fixes.patch
@@ -0,0 +1,27 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+From e6d8b644652d5671a77a7eb3935edb1bc80bf0e3 Mon Sep 17 00:00:00 2001
+From: mingw-cross-env
+Date: Sat, 24 Mar 2012 20:16:15 +0100
+Subject: [PATCH] install projects.h
+
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 621b0b4..715d49a 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -4,7 +4,7 @@ EXTRA_PROGRAMS = multistresstest
+ INCLUDES = -DPROJ_LIB=\"$(pkgdatadir)\" \
+ -DMUTEX_@MUTEX_SETTING@ @JNI_INCLUDE@
+
+-include_HEADERS = proj_api.h org_proj4_Projections.h
++include_HEADERS = proj_api.h org_proj4_Projections.h projects.h
+
+ EXTRA_DIST = makefile.vc proj.def
+
+--
+1.7.9.2
+
diff --git a/src/proj.mk b/src/proj.mk
index 7b7b439..6ed01ee 100644
--- a/src/proj.mk
+++ b/src/proj.mk
@@ -20,6 +20,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ cd '$(1)' && autoconf
+ cd '$(1)' && automake
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \