From: Martin Banky <martin.banky@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 10/21] libdeamon: bump to 0.14
Date: Mon, 13 Sep 2010 20:40:37 -0700 [thread overview]
Message-ID: <1284435648-15238-10-git-send-email-Martin.Banky@gmail.com> (raw)
In-Reply-To: <1284435648-15238-1-git-send-email-Martin.Banky@gmail.com>
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
---
CHANGES | 2 +-
package/libdaemon/libdaemon.mk | 3 +-
.../libdeamon-0.14-buildroot-libtool.patch | 53 ++++++++++++++++++++
3 files changed, 56 insertions(+), 2 deletions(-)
create mode 100644 package/libdaemon/libdeamon-0.14-buildroot-libtool.patch
diff --git a/CHANGES b/CHANGES
index 2185758..e2fa369 100644
--- a/CHANGES
+++ b/CHANGES
@@ -9,7 +9,7 @@
Updated/fixed packages: alsa-lib, alsa-utils, autoconf, automake,
berkeleydb, bison, busybox, ccache, dropbear, fakeroot, genext2fs,
- gmp, iptables, kismet, openvpn, qt, usbutils
+ gmp, iptables, kismet, libdeamon, openvpn, qt, usbutils
Removed packages: dillo, libglib12, libgtk12, microwin, pcmcia
diff --git a/package/libdaemon/libdaemon.mk b/package/libdaemon/libdaemon.mk
index 7a9d5c8..57b2c7e 100644
--- a/package/libdaemon/libdaemon.mk
+++ b/package/libdaemon/libdaemon.mk
@@ -4,7 +4,7 @@
#
#############################################################
-LIBDAEMON_VERSION:=0.13
+LIBDAEMON_VERSION:=0.14
LIBDAEMON_SOURCE:=libdaemon-$(LIBDAEMON_VERSION).tar.gz
LIBDAEMON_SITE:=http://0pointer.de/lennart/projects/libdaemon/
LIBDAEMON_AUTORECONF:=no
@@ -12,6 +12,7 @@ LIBDAEMON_INSTALL_STAGING:=YES
LIBDAEMON_INSTALL_TARGET:=YES
LIBDAEMON_CONF_ENV:=ac_cv_func_setpgrp_void=no
LIBDAEMON_CONF_OPT:=--disable-lynx
+LIBDAEMON_LIBTOOL_PATCH:=no
LIBDAEMON_DEPENDENCIES:=host-pkg-config
diff --git a/package/libdaemon/libdeamon-0.14-buildroot-libtool.patch b/package/libdaemon/libdeamon-0.14-buildroot-libtool.patch
new file mode 100644
index 0000000..5697bf1
--- /dev/null
+++ b/package/libdaemon/libdeamon-0.14-buildroot-libtool.patch
@@ -0,0 +1,53 @@
+--- a/ltmain.sh 2006-03-11 13:49:04.000000000 -0500
++++ b/ltmain.sh 2008-04-30 09:55:28.000000000 -0400
+@@ -2239,8 +2239,11 @@ func_mode_install ()
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+- test "$inst_prefix_dir" = "$destdir" && \
+- func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
++ #
++ # This breaks install into our staging area. -PB
++ #
++ # test "$inst_prefix_dir" = "$destdir" && \
++ # func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
+@@ -5739,8 +5742,14 @@ func_mode_link ()
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ else
+- dir="$libdir"
+- absdir="$libdir"
++ # Adding 'libdir' from the .la file to our library search paths
++ # breaks crosscompilation horribly. We cheat here and don't add
++ # it, instead adding the path where we found the .la. -CL
++ dir="$abs_ladir"
++ absdir="$abs_ladir"
++ libdir="$abs_ladir"
++ #dir="$libdir"
++ #absdir="$libdir"
+ fi
+ test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
+ else
+@@ -5891,7 +5900,7 @@ func_mode_link ()
+ *)
+ if test "$installed" = no; then
+ notinst_deplibs="$notinst_deplibs $lib"
+- need_relink=yes
++ need_relink=no
+ fi
+ ;;
+ esac
+@@ -8373,6 +8382,10 @@ func_mode_link ()
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
++ # Replacing uninstalled with installed can easily break crosscompilation,
++ # since the installed path is generally the wrong architecture. -CL
++ newdependency_libs="$newdependency_libs $deplib"
++ continue
+ case $deplib in
+ *.la)
+ func_basename "$deplib"
--
1.7.2.3
next prev parent reply other threads:[~2010-09-14 3:40 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 3:40 [Buildroot] [PATCH 01/21] alsa-lib: bump to 1.0.23 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 02/21] alsa-utils: " Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 03/21] autoconf: bump to 2.67 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 04/21] automake: bump to 1.11.1 Martin Banky
2010-09-14 8:51 ` Lionel Landwerlin
2010-09-15 2:58 ` Martin Banky
2010-09-15 9:10 ` Lionel Landwerlin
2010-09-15 10:13 ` Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 05/21] bison: bump to 2.4.3 Martin Banky
2010-09-18 17:02 ` Thomas Petazzoni
2010-09-18 21:36 ` Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 06/21] ccache: bump to 3.0.1 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 07/21] fakeroot: bump to 1.14.4 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 08/21] genext2fs: bump to 1.4.1 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 09/21] gmp: bump to 5.0.1 Martin Banky
2010-09-18 17:03 ` Thomas Petazzoni
2010-09-19 0:35 ` Martin Banky
2010-09-14 3:40 ` Martin Banky [this message]
2010-09-14 3:40 ` [Buildroot] [PATCH 11/21] libelf: bump to 0.8.13 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 12/21] libogg: bump to 1.2.0 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 13/21] libvorbis: bump to 1.3.1 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 14/21] make: bump to 3.82 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 15/21] module-init-tools: bump to 3.12 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 16/21] mpfr: bump to 3.0.0 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 17/21] nano: bump to 2.2.5 Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 18/21] ntp: convert to autotargets and bump to 4.2.6p2 Martin Banky
2010-09-18 17:19 ` Thomas Petazzoni
2010-09-21 17:39 ` Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 19/21] openssl: bump to 1.0.0a Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 20/21] BugFix - Bison - Fixed Missing stddef.h Include In wchar.h Martin Banky
2010-09-14 19:54 ` Thomas Petazzoni
2010-09-15 1:45 ` Martin Banky
2010-09-14 3:40 ` [Buildroot] [PATCH 21/21] BugFix - m4 - Fixed Missing wint_t typedef When There Is No WChar Support Martin Banky
2010-09-19 20:45 ` Peter Korsgaard
2010-09-20 0:37 ` Martin Banky
2010-09-18 17:00 ` [Buildroot] [PATCH 01/21] alsa-lib: bump to 1.0.23 Thomas Petazzoni
2010-09-18 20:54 ` Martin Banky
-- strict thread matches above, loose matches on Subject: below --
2010-09-19 2:53 [Buildroot] [PATCH 00/21] Resend package updates patch set Martin Banky
2010-09-19 2:53 ` [Buildroot] [PATCH 10/21] libdeamon: bump to 0.14 Martin Banky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1284435648-15238-10-git-send-email-Martin.Banky@gmail.com \
--to=martin.banky@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox