diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-10-13 10:59:24 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-10-13 10:59:24 +0000 |
commit | e7a024185b549ec17dcdcc038b107737d8c4bf2e (patch) | |
tree | e6d3e4a029ce40fb53a887417fda13396cf1def2 | |
parent | Bump (diff) | |
download | gentoo-2-e7a024185b549ec17dcdcc038b107737d8c4bf2e.tar.gz gentoo-2-e7a024185b549ec17dcdcc038b107737d8c4bf2e.tar.bz2 gentoo-2-e7a024185b549ec17dcdcc038b107737d8c4bf2e.zip |
Always build with -fPIC on FreeBSD.
(Portage version: 2.1.2_pre2-r9)
-rw-r--r-- | sys-libs/readline/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/readline/files/readline-5.1-fbsd-pic.patch | 11 | ||||
-rw-r--r-- | sys-libs/readline/readline-5.1_p4.ebuild | 3 | ||||
-rw-r--r-- | sys-libs/readline/readline-5.2.ebuild | 3 |
4 files changed, 21 insertions, 3 deletions
diff --git a/sys-libs/readline/ChangeLog b/sys-libs/readline/ChangeLog index 96608548eeb3..673b9824bb85 100644 --- a/sys-libs/readline/ChangeLog +++ b/sys-libs/readline/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/readline # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.82 2006/10/12 23:30:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.83 2006/10/13 10:59:24 uberlord Exp $ + + 13 Oct 2006; Roy Marples <uberlord@gentoo.org> + +files/readline-5.1-fbsd-pic.patch, readline-5.1_p4.ebuild, + readline-5.2.ebuild: + Always build with -fPIC on FreeBSD. *readline-5.2 (12 Oct 2006) diff --git a/sys-libs/readline/files/readline-5.1-fbsd-pic.patch b/sys-libs/readline/files/readline-5.1-fbsd-pic.patch new file mode 100644 index 000000000000..1e922a656808 --- /dev/null +++ b/sys-libs/readline/files/readline-5.1-fbsd-pic.patch @@ -0,0 +1,11 @@ +--- support/shobj-conf ++++ support/shobj-conf +@@ -125,7 +125,7 @@ + + # FreeBSD-3.x ELF + freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*|dragonfly*) +- SHOBJ_CFLAGS=-fpic ++ SHOBJ_CFLAGS=-fPIC + SHOBJ_LD='${CC}' + + if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then diff --git a/sys-libs/readline/readline-5.1_p4.ebuild b/sys-libs/readline/readline-5.1_p4.ebuild index 02c8ffa19adc..e5e0962bfa83 100644 --- a/sys-libs/readline/readline-5.1_p4.ebuild +++ b/sys-libs/readline/readline-5.1_p4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.1_p4.ebuild,v 1.11 2006/08/19 15:43:36 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.1_p4.ebuild,v 1.12 2006/10/13 10:59:24 uberlord Exp $ inherit eutils multilib toolchain-funcs @@ -48,6 +48,7 @@ src_unpack() { epatch "${FILESDIR}"/${MY_P}-rlfe-build.patch #116483 epatch "${FILESDIR}"/${MY_P}-rlfe-uclibc.patch epatch "${FILESDIR}"/${MY_P}-rlfe-libutil.patch + epatch "${FILESDIR}"/${MY_P}-fbsd-pic.patch ln -s ../.. examples/rlfe/readline diff --git a/sys-libs/readline/readline-5.2.ebuild b/sys-libs/readline/readline-5.2.ebuild index 4f0b166cbca9..ac7deb3c9fc0 100644 --- a/sys-libs/readline/readline-5.2.ebuild +++ b/sys-libs/readline/readline-5.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.2.ebuild,v 1.1 2006/10/12 23:30:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.2.ebuild,v 1.2 2006/10/13 10:59:24 uberlord Exp $ inherit eutils multilib toolchain-funcs @@ -45,6 +45,7 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch #epatch "${FILESDIR}"/${PN}-5.1-rlfe-build.patch #116483 epatch "${FILESDIR}"/${PN}-5.1-rlfe-uclibc.patch + epatch "${FILESDIR}"/${PN}-5.1-fbsd-pic.patch ln -s ../.. examples/rlfe/readline |