aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/readline
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-20 13:21:21 -0700
committerChris Larson <chris_larson@mentor.com>2010-10-21 20:29:26 -0700
commitb79a20523fe3fac5c27629cfb57d2f0151c58eaa (patch)
treefffd5773c68b0799da972a6f4c23af3dcc188685 /recipes/readline
parentfa83629f8ef6fe544dcc8c14b49ebc8bb188a379 (diff)
downloadopenembedded-b79a20523fe3fac5c27629cfb57d2f0151c58eaa.tar.gz
openembedded-b79a20523fe3fac5c27629cfb57d2f0151c58eaa.tar.bz2
openembedded-b79a20523fe3fac5c27629cfb57d2f0151c58eaa.zip
readline-5.2: fix for darwin builds
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes/readline')
-rw-r--r--recipes/readline/darwin.patch20
-rw-r--r--recipes/readline/readline_5.2.bb5
2 files changed, 22 insertions, 3 deletions
diff --git a/recipes/readline/darwin.patch b/recipes/readline/darwin.patch
new file mode 100644
index 0000000000..7085a9d83c
--- /dev/null
+++ b/recipes/readline/darwin.patch
@@ -0,0 +1,20 @@
+--- readline/support/shobj-conf.old 2010-10-20 12:01:58.000000000 -0700
++++ readline/support/shobj-conf 2010-10-20 12:02:36.000000000 -0700
+@@ -142,7 +142,7 @@
+ ;;
+
+ # Darwin/MacOS X
+-darwin8*)
++darwin|darwin[89]*)
+ SHOBJ_STATUS=supported
+ SHLIB_STATUS=supported
+
+@@ -171,7 +171,7 @@
+ SHLIB_LIBSUFF='dylib'
+
+ case "${host_os}" in
+- darwin[78]*) SHOBJ_LDFLAGS=''
++ darwin|darwin[789]*) SHOBJ_LDFLAGS=''
+ SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+ ;;
+ *) SHOBJ_LDFLAGS='-dynamic'
diff --git a/recipes/readline/readline_5.2.bb b/recipes/readline/readline_5.2.bb
index aadb61958c..cdfa7ce666 100644
--- a/recipes/readline/readline_5.2.bb
+++ b/recipes/readline/readline_5.2.bb
@@ -8,15 +8,15 @@ LICENSE = "GPLv2"
DEPENDS += "ncurses"
RPROVIDES_${PN} += "readline"
LEAD_SONAME = "libreadline.so"
-PR = "r7"
+PR = "r8"
SRC_URI = "\
ftp://ftp.gnu.org/gnu/readline/readline-${PV}.tar.gz \
file://fix-includes.patch \
file://configure_fix.patch \
+ file://darwin.patch \
file://acinclude.m4 \
"
-S = "${WORKDIR}/readline-${PV}"
inherit autotools
@@ -34,6 +34,5 @@ do_install () {
NATIVE_INSTALL_WORKS = 1
BBCLASSEXTEND = "native"
-
SRC_URI[md5sum] = "e39331f32ad14009b9ff49cc10c5e751"
SRC_URI[sha256sum] = "12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45"