summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-10-07 10:36:01 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-10-07 10:36:01 +0000
commit8fa4a6004c1782cd0c216ccc180356c20056ee0c (patch)
treecf928bacd66fd6ac0237b43814e7c6f96fb30171 /dev-libs/libtecla
parentBug #240292, version bump. (diff)
downloadgentoo-2-8fa4a6004c1782cd0c216ccc180356c20056ee0c.tar.gz
gentoo-2-8fa4a6004c1782cd0c216ccc180356c20056ee0c.tar.bz2
gentoo-2-8fa4a6004c1782cd0c216ccc180356c20056ee0c.zip
Added patches to prevent stripping of binaries and repect LDFLAGS (see bug #239877).
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686)
Diffstat (limited to 'dev-libs/libtecla')
-rw-r--r--dev-libs/libtecla/ChangeLog8
-rw-r--r--dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch17
-rw-r--r--dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch14
-rw-r--r--dev-libs/libtecla/libtecla-1.6.1.ebuild4
4 files changed, 41 insertions, 2 deletions
diff --git a/dev-libs/libtecla/ChangeLog b/dev-libs/libtecla/ChangeLog
index b07b387c715d..1757d4cb6e86 100644
--- a/dev-libs/libtecla/ChangeLog
+++ b/dev-libs/libtecla/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libtecla
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/ChangeLog,v 1.10 2008/06/03 13:10:03 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/ChangeLog,v 1.11 2008/10/07 10:36:00 markusle Exp $
+
+ 07 Oct 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/libtecla-1.6.1-LDFLAGS.patch, +files/libtecla-1.6.1-no-strip.patch,
+ libtecla-1.6.1.ebuild:
+ Added patches to prevent stripping of binaries and repect LDFLAGS
+ (see bug #239877).
03 Jun 2008; Markus Dittrich <markusle@gentoo.org>
+files/libtecla-1.6.1-install.patch, libtecla-1.6.0-r1.ebuild,
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch b/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch
new file mode 100644
index 000000000000..dcc8c7ce52b3
--- /dev/null
+++ b/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch
@@ -0,0 +1,17 @@
+# add missing LDFLAGS to build system.
+# the configure script still fails to add LDFLAGS when linking
+# the libtecla shared object but since it calls ld directory
+# LDFLAGS can't be used straight out of the box.
+
+diff -Naur libtecla/Makefile.rules libtecla.new/Makefile.rules
+--- libtecla/Makefile.rules 2002-12-04 01:26:56.000000000 -0500
++++ libtecla.new/Makefile.rules 2008-10-07 06:16:22.000000000 -0400
+@@ -66,7 +66,7 @@
+ $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS)
+
+ enhance$(SUFFIX): $(OBJDIR)/enhance.o
+- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \
+ $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS)
+
+ #-----------------------------------------------------------------------
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch
new file mode 100644
index 000000000000..1935c3894f76
--- /dev/null
+++ b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch
@@ -0,0 +1,14 @@
+# prevent build system from stripping files (bug #239877).
+
+diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in
+--- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500
++++ libtecla.new/Makefile.in 2008-10-07 06:17:22.000000000 -0400
+@@ -260,7 +260,7 @@
+ install_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R)
+ progs="$(PROGRAMS) $(PROGRAMS_R)"; \
+ for prog in $$progs; do \
+- $(srcdir)/install-sh -c -m 755 -s $$prog $(BINDIR)/; \
++ $(srcdir)/install-sh -c -m 755 $$prog $(BINDIR)/; \
+ done
+
+ install: install_lib install_inc install_man install_bin
diff --git a/dev-libs/libtecla/libtecla-1.6.1.ebuild b/dev-libs/libtecla/libtecla-1.6.1.ebuild
index 4ce25de6f804..dc044f8becf9 100644
--- a/dev-libs/libtecla/libtecla-1.6.1.ebuild
+++ b/dev-libs/libtecla/libtecla-1.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.2 2008/06/03 13:10:03 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.3 2008/10/07 10:36:00 markusle Exp $
inherit eutils
@@ -22,6 +22,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-install.patch
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+ epatch "${FILESDIR}"/${P}-no-strip.patch
# remove build directory from RPATH (see bug #119477)
sed -e "s|:\$\$LD_RUN_PATH:\`pwd\`||" -i Makefile.rules || \