summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-06-14 06:46:36 +0000
committerNaohiro Aota <naota@gentoo.org>2012-06-14 06:46:36 +0000
commita6ded07ceca1f3cae2c27c2db417dd38ec4a8dd8 (patch)
treecffa08b6f7d26a138f1f11958fd7c94068eefea6 /app-text/cmigemo
parentmarked x86 per bug 307767 (diff)
downloadgentoo-2-a6ded07ceca1f3cae2c27c2db417dd38ec4a8dd8.tar.gz
gentoo-2-a6ded07ceca1f3cae2c27c2db417dd38ec4a8dd8.tar.bz2
gentoo-2-a6ded07ceca1f3cae2c27c2db417dd38ec4a8dd8.zip
Add patch to handle LDFLAGS properly.
(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
Diffstat (limited to 'app-text/cmigemo')
-rw-r--r--app-text/cmigemo/ChangeLog8
-rw-r--r--app-text/cmigemo/cmigemo-1.3c-r2.ebuild7
-rw-r--r--app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch13
3 files changed, 23 insertions, 5 deletions
diff --git a/app-text/cmigemo/ChangeLog b/app-text/cmigemo/ChangeLog
index 13742ed0e8f9..b3b9e348e4ca 100644
--- a/app-text/cmigemo/ChangeLog
+++ b/app-text/cmigemo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/cmigemo
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/ChangeLog,v 1.20 2009/11/08 16:45:17 matsuu Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/ChangeLog,v 1.21 2012/06/14 06:46:36 naota Exp $
+
+ 14 Jun 2012; Naohiro Aota <naota@gentoo.org>
+ +files/cmigemo-1.3c-ldflags.patch, cmigemo-1.3c-r2.ebuild:
+ Add patch to handle LDFLAGS properly.
*cmigemo-1.3c-r2 (08 Nov 2009)
diff --git a/app-text/cmigemo/cmigemo-1.3c-r2.ebuild b/app-text/cmigemo/cmigemo-1.3c-r2.ebuild
index 418956c3c2b6..ba620ad4ecee 100644
--- a/app-text/cmigemo/cmigemo-1.3c-r2.ebuild
+++ b/app-text/cmigemo/cmigemo-1.3c-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/cmigemo-1.3c-r2.ebuild,v 1.1 2009/11/08 16:45:17 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/cmigemo-1.3c-r2.ebuild,v 1.2 2012/06/14 06:46:36 naota Exp $
EAPI=2
inherit eutils flag-o-matic multilib toolchain-funcs
@@ -30,7 +30,8 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
# Bug #246953
- epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-gentoo.patch" \
+ "${FILESDIR}"/${P}-ldflags.patch
touch dict/SKK-JISYO.L
if use unicode ; then
diff --git a/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch b/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch
new file mode 100644
index 000000000000..2f4f8c922431
--- /dev/null
+++ b/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/compile/Make_gcc.mak b/compile/Make_gcc.mak
+index f042ac6..f91fe92 100644
+--- a/compile/Make_gcc.mak
++++ b/compile/Make_gcc.mak
+@@ -28,7 +28,7 @@ include compile/clean_unix.mak
+ #
+ $(libmigemo_LIB): $(libmigemo_DSO)
+ $(libmigemo_DSO): $(libmigemo_OBJ)
+- $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ)
++ $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) $(LDFLAGS)
+ $(RM) $@ $(libmigemo)
+ ln -s $(libmigemo_LIB) $@
+ ln -s $(libmigemo_LIB) $(libmigemo)