diff options
author | Tom Martin <slarti@gentoo.org> | 2004-09-01 10:59:48 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2004-09-01 10:59:48 +0000 |
commit | 4c302e90de2c9f8e26884e90f6ef55cb30ae8bf0 (patch) | |
tree | 4d90c32b3e19b82f6041184cc883f8d3a7ca0626 /dev-libs/m17n-lib | |
parent | Version bump to 4.1.3. Closes #61527. (Manifest recommit) (diff) | |
download | gentoo-2-4c302e90de2c9f8e26884e90f6ef55cb30ae8bf0.tar.gz gentoo-2-4c302e90de2c9f8e26884e90f6ef55cb30ae8bf0.tar.bz2 gentoo-2-4c302e90de2c9f8e26884e90f6ef55cb30ae8bf0.zip |
Included fPIC patchy goodness, closes #62447.
Diffstat (limited to 'dev-libs/m17n-lib')
-rw-r--r-- | dev-libs/m17n-lib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/m17n-lib/files/m17n-lib-1.1.0-fpic.patch | 16 | ||||
-rw-r--r-- | dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild | 12 |
3 files changed, 30 insertions, 4 deletions
diff --git a/dev-libs/m17n-lib/ChangeLog b/dev-libs/m17n-lib/ChangeLog index cd5736e0edee..23c111ca5705 100644 --- a/dev-libs/m17n-lib/ChangeLog +++ b/dev-libs/m17n-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/m17n-lib # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.11 2004/08/17 13:19:28 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.12 2004/09/01 10:59:48 slarti Exp $ + + 01 Sep 2004; Tom Martin <slarti@gentoo.org> m17n-lib-1.1.0.ebuild: + Included fPIC patch to fix the Makefiles to build libraries with PIC. Resolves + bug 62447 - thanks to <panard@inzenet.org> for reporting. *m17n-lib-1.1.0 (17 Aug 2004) diff --git a/dev-libs/m17n-lib/files/m17n-lib-1.1.0-fpic.patch b/dev-libs/m17n-lib/files/m17n-lib-1.1.0-fpic.patch new file mode 100644 index 000000000000..533943243772 --- /dev/null +++ b/dev-libs/m17n-lib/files/m17n-lib-1.1.0-fpic.patch @@ -0,0 +1,16 @@ +--- src/Makefile.in.orig 2004-08-16 03:07:41.000000000 +0100 ++++ src/Makefile.in 2004-09-01 11:48:46.746514784 +0100 +@@ -130,10 +130,10 @@ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +- $(AM_CFLAGS) $(CFLAGS) ++ $(AM_CFLAGS) $(CFLAGS) -fPIC + CCLD = $(CC) +-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ ++ $(AM_LDFLAGS) $(LDFLAGS) -fPIC -o $@ + SOURCES = $(libm17n_X_la_SOURCES) $(libm17n_core_la_SOURCES) \ + $(libm17n_gd_la_SOURCES) $(libm17n_gui_la_SOURCES) \ + $(libm17n_la_SOURCES) $(linkcore_SOURCES) $(linkgui_SOURCES) \ diff --git a/dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild index 4bc6b29f9b8a..d6f304abed16 100644 --- a/dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild +++ b/dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild,v 1.1 2004/08/17 13:19:28 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.1.0.ebuild,v 1.2 2004/09/01 10:59:48 slarti Exp $ DESCRIPTION="Multilingual Library for Unix/Linux" HOMEPAGE="http://www.m17n.org/m17n-lib/" @@ -19,14 +19,20 @@ DEPEND="virtual/x11 >=dev-libs/libotf-0.9.2 >=dev-db/m17n-db-${PV}" -src_compile() { +inherit eutils + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-fpic.patch +} +src_compile() { econf || die emake -j1 || die } src_install() { - make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog INSTALL NEWS README TODO |