[oe-commits] Tom Rini : gmp: Fix a problem when ${exec_prefix} != ${includedir}, switch to INC_PR
git version control
git at git.openembedded.org
Tue Jul 7 01:26:47 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d1767a1edbc8335f1cfd9c2975b7e8c2b283f10f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d1767a1edbc8335f1cfd9c2975b7e8c2b283f10f
Author: Tom Rini <trini at embeddedalley.com>
Date: Mon Jul 6 18:03:43 2009 -0700
gmp: Fix a problem when ${exec_prefix} != ${includedir}, switch to INC_PR
---
recipes/gmp/files/use-includedir.patch | 13 +++++++++++++
recipes/gmp/gmp-canadian_4.2.4.bb | 1 +
recipes/gmp/gmp-native_4.2.4.bb | 1 +
recipes/gmp/gmp_4.2.4.bb | 4 +++-
4 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/recipes/gmp/files/use-includedir.patch b/recipes/gmp/files/use-includedir.patch
new file mode 100644
index 0000000..ee3891f
--- /dev/null
+++ b/recipes/gmp/files/use-includedir.patch
@@ -0,0 +1,13 @@
+Index: gmp-4.2.4/Makefile.am
+===================================================================
+--- gmp-4.2.4.orig/Makefile.am 2008-09-10 19:31:27.000000000 +0000
++++ gmp-4.2.4/Makefile.am 2009-07-06 20:19:19.000000000 +0000
+@@ -106,7 +106,7 @@
+ # but anyone knowledgable enough to be playing with exec_prefix will be able
+ # to address that.
+ #
+-includeexecdir = $(exec_prefix)/include
++includeexecdir = $(includedir)
+ include_HEADERS = $(GMPXX_HEADERS_OPTION)
+ nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
+ lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
diff --git a/recipes/gmp/gmp-canadian_4.2.4.bb b/recipes/gmp/gmp-canadian_4.2.4.bb
index 27d179a..63f62ac 100644
--- a/recipes/gmp/gmp-canadian_4.2.4.bb
+++ b/recipes/gmp/gmp-canadian_4.2.4.bb
@@ -1,5 +1,6 @@
PV = "4.2.4"
require gmp_${PV}.bb
+PR = "${INC_PR}.1"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}"
S = "${WORKDIR}/gmp-${PV}"
diff --git a/recipes/gmp/gmp-native_4.2.4.bb b/recipes/gmp/gmp-native_4.2.4.bb
index 1e0ffb4..aa927b6 100644
--- a/recipes/gmp/gmp-native_4.2.4.bb
+++ b/recipes/gmp/gmp-native_4.2.4.bb
@@ -1,2 +1,3 @@
PV = "4.2.4"
require gmp-native.inc
+PR = "${INC_PR}.1"
diff --git a/recipes/gmp/gmp_4.2.4.bb b/recipes/gmp/gmp_4.2.4.bb
index a7aa712..a9c14e6 100644
--- a/recipes/gmp/gmp_4.2.4.bb
+++ b/recipes/gmp/gmp_4.2.4.bb
@@ -1,6 +1,8 @@
-PR = "r0"
+INC_PR = "r0"
+PR = "${INC_PR}.1"
SRC_URI_append += "file://sh4-asmfix.patch;patch=1 \
+ file://use-includedir.patch;patch=1 \
"
require gmp.inc
LICENSE = "GPLv3 LGPLv3"
More information about the Openembedded-commits
mailing list