summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-12-19 16:15:58 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-12-19 16:15:58 +0000
commitbaa6414cd1b1a940a55d0cf09113967c6f1774b1 (patch)
tree27ed0bebf445f2a9a346b0d79bfe635efa485361 /media-sound/tk707/files
parentEbuild cleanup, fix depend, and CC/CFLAGS handling, closes bug #246819 (diff)
downloadhistorical-baa6414cd1b1a940a55d0cf09113967c6f1774b1.tar.gz
historical-baa6414cd1b1a940a55d0cf09113967c6f1774b1.tar.bz2
historical-baa6414cd1b1a940a55d0cf09113967c6f1774b1.zip
Fix build with forced asneeded, bug #247866, honour ldflags, dont prestrip files
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27.8 x86_64
Diffstat (limited to 'media-sound/tk707/files')
-rw-r--r--media-sound/tk707/files/tk707-0.8-asneeded.patch15
-rw-r--r--media-sound/tk707/files/tk707-0.8-nostrip.patch13
2 files changed, 28 insertions, 0 deletions
diff --git a/media-sound/tk707/files/tk707-0.8-asneeded.patch b/media-sound/tk707/files/tk707-0.8-asneeded.patch
new file mode 100644
index 000000000000..a7833fd31d32
--- /dev/null
+++ b/media-sound/tk707/files/tk707-0.8-asneeded.patch
@@ -0,0 +1,15 @@
+Index: tk707-0.8/Makefile.am
+===================================================================
+--- tk707-0.8.orig/Makefile.am
++++ tk707-0.8/Makefile.am
+@@ -42,8 +42,8 @@ tk707tcl_SOURCES = util707.c util707.h
+ tcl2c_SOURCES = tcl2c.c
+ texi2help_SOURCES = texi2help.l
+
+-tk707bin_LDFLAGS = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS)
+-tk707tcl_LDFLAGS = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS)
++tk707bin_LDADD = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS)
++tk707tcl_LDADD = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS)
+ INCLUDES = $(ALSA_CFLAGS) $(TCLTK_CFLAGS) $(X_CFLAGS)
+
+ pkgdata_DATA = 707.map 727.map 7b7.map 7c7.map \
diff --git a/media-sound/tk707/files/tk707-0.8-nostrip.patch b/media-sound/tk707/files/tk707-0.8-nostrip.patch
new file mode 100644
index 000000000000..f0c35fa89702
--- /dev/null
+++ b/media-sound/tk707/files/tk707-0.8-nostrip.patch
@@ -0,0 +1,13 @@
+Index: tk707-0.8/Makefile.am
+===================================================================
+--- tk707-0.8.orig/Makefile.am
++++ tk707-0.8/Makefile.am
+@@ -191,7 +191,7 @@ $(srcdir)/texi2help.c: texi2help.l
+
+ install-exec-local: tk707bin tk707.sh
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+- sh $(srcdir)/install-sh -s -c tk707bin $(DESTDIR)$(bindir)/tk707bin
++ sh $(srcdir)/install-sh -c tk707bin $(DESTDIR)$(bindir)/tk707bin
+ $(INSTALL_SCRIPT) tk707.sh $(DESTDIR)$(bindir)/tk707
+
+ uninstall-local: