summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/ncurses/ncurses/use_ldflags.patch12
-rw-r--r--recipes/ncurses/ncurses_5.4.bb3
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes/ncurses/ncurses/use_ldflags.patch b/recipes/ncurses/ncurses/use_ldflags.patch
new file mode 100644
index 0000000000..e04f1e576c
--- /dev/null
+++ b/recipes/ncurses/ncurses/use_ldflags.patch
@@ -0,0 +1,12 @@
+diff -urN ncurses-5.4.orig/mk-1st.awk ncurses-5.4/mk-1st.awk
+--- ncurses-5.4.orig/mk-1st.awk 2004-01-10 20:48:43.000000000 +0000
++++ ncurses-5.4/mk-1st.awk 2009-04-02 10:23:04.000000000 +0000
+@@ -287,7 +287,7 @@
+ }
+ end_name = lib_name;
+ printf "../lib/%s : $(%s_OBJS)\n", lib_name, OBJS
+- printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) $(SHLIB_LIST)\n", compile, lib_name, OBJS
++ printf "\tcd ../lib && $(LIBTOOL_LINK) $(%s) $(LDFLAGS) -o %s $(%s_OBJS:$o=.lo) -rpath $(DESTDIR)$(libdir) -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) $(SHLIB_LIST)\n", compile, lib_name, OBJS
+ print ""
+ print "install \\"
+ print "install.libs \\"
diff --git a/recipes/ncurses/ncurses_5.4.bb b/recipes/ncurses/ncurses_5.4.bb
index 56076140fa..eb798df67d 100644
--- a/recipes/ncurses/ncurses_5.4.bb
+++ b/recipes/ncurses/ncurses_5.4.bb
@@ -1,7 +1,8 @@
-PR = "r18"
+PR = "r19"
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
file://makefile_tweak.patch;patch=1 \
+ file://use_ldflags.patch;patch=1 \
file://visibility.patch;patch=1"
S = "${WORKDIR}/ncurses-${PV}"