summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/freewnn')
-rw-r--r--app-i18n/freewnn/ChangeLog6
-rw-r--r--app-i18n/freewnn/files/freewnn-1.1.1_alpha21-ldflags.patch39
-rw-r--r--app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild4
3 files changed, 47 insertions, 2 deletions
diff --git a/app-i18n/freewnn/ChangeLog b/app-i18n/freewnn/ChangeLog
index d02f2f233a5f..55b1cd042444 100644
--- a/app-i18n/freewnn/ChangeLog
+++ b/app-i18n/freewnn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/freewnn
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/ChangeLog,v 1.44 2011/10/22 01:30:14 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/ChangeLog,v 1.45 2011/11/07 08:49:51 naota Exp $
+
+ 22 Oct 2011; Naohiro Aota <naota@gentoo.org> freewnn-1.1.1_alpha21-r1.ebuild,
+ +files/freewnn-1.1.1_alpha21-ldflags.patch:
+ Add patch to respect LDFLAGS
22 Oct 2011; Naohiro Aota <naota@gentoo.org> freewnn-1.1.1_alpha21-r1.ebuild,
+files/freewnn-1.1.1_alpha21-gcc45.patch:
diff --git a/app-i18n/freewnn/files/freewnn-1.1.1_alpha21-ldflags.patch b/app-i18n/freewnn/files/freewnn-1.1.1_alpha21-ldflags.patch
new file mode 100644
index 000000000000..a14ca33b79cb
--- /dev/null
+++ b/app-i18n/freewnn/files/freewnn-1.1.1_alpha21-ldflags.patch
@@ -0,0 +1,39 @@
+diff --git a/makerule.mk.in b/makerule.mk.in
+index fa9a7e1..dc7210a 100644
+--- a/makerule.mk.in
++++ b/makerule.mk.in
+@@ -94,7 +94,7 @@ ALLDEFINES = $(INCLUDES) $(DEFINES)
+ CFLAGS = @CFLAGS@ @CDEBUGFLAGS@ $(CCOPTIONS) @ipv6@ @DEFS@ $(ALLDEFINES)
+ LIBS = @LIBS@
+ LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
+-LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS)
++LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS) $(LDFLAGS)
+
+
+ #
+diff --git a/Wnn/jlib.V3/Makefile.in b/Wnn/jlib.V3/Makefile.in
+index 9d5b873..5b1bf23 100644
+--- a/Wnn/jlib.V3/Makefile.in
++++ b/Wnn/jlib.V3/Makefile.in
+@@ -76,7 +76,7 @@ includes::
+ all:: libjd.la
+
+ libjd.la: $(OBJS) $(EXTRALIBRARYDEPS)
+- $(LIBTOOL) $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
++ $(LIBTOOL) $(CC) -o $@ $(LDOPTIONS) $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
+
+ lintlib:: llib-ljd.ln
+
+diff --git a/Wnn/jlib/Makefile.in b/Wnn/jlib/Makefile.in
+index 234dea2..6cc5739 100644
+--- a/Wnn/jlib/Makefile.in
++++ b/Wnn/jlib/Makefile.in
+@@ -101,7 +101,7 @@ clean::
+ all:: libwnn.la
+
+ libwnn.la: $(OBJS) $(EXTRALIBRARYDEPS)
+- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) @LIBS@ -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) $(LDOPTIONS) @LIBS@ -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
+
+ lintlib:: llib-lwnn.ln
+
diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild
index 6f38d02d9010..7cefc2e6397a 100644
--- a/app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild
+++ b/app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild,v 1.9 2011/10/22 01:30:14 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/freewnn-1.1.1_alpha21-r1.ebuild,v 1.10 2011/11/07 08:49:51 naota Exp $
inherit eutils
@@ -34,6 +34,8 @@ src_unpack() {
#bug #318593
epatch "${FILESDIR}"/${P}-gcc45.patch
+
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {