summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-09 05:19:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-09 05:19:19 +0000
commitd5d4a866a9476b2c01759506308955e24ccc259c (patch)
tree5a4d60a7fc228aab65bb66c929ee6686d8b92155 /sys-freebsd/freebsd-mk-defs
parentadded new upstream version with multilib support and updated to modular X (diff)
downloadgentoo-2-d5d4a866a9476b2c01759506308955e24ccc259c.tar.gz
gentoo-2-d5d4a866a9476b2c01759506308955e24ccc259c.tar.bz2
gentoo-2-d5d4a866a9476b2c01759506308955e24ccc259c.zip
Fix building of shared libc.so on Linux.
(Portage version: 2.1.1_pre2-r6)
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs')
-rw-r--r--sys-freebsd/freebsd-mk-defs/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.0-gnu.patch2
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-mk-defs/ChangeLog b/sys-freebsd/freebsd-mk-defs/ChangeLog
index ef23868a3754..d748a409e348 100644
--- a/sys-freebsd/freebsd-mk-defs/ChangeLog
+++ b/sys-freebsd/freebsd-mk-defs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-mk-defs
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.13 2006/05/09 16:50:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.14 2006/07/09 05:19:19 flameeyes Exp $
+
+ 09 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/freebsd-mk-defs-6.0-gnu.patch:
+ Fix building of shared libc.so on Linux.
*freebsd-mk-defs-6.1-r1 (09 May 2006)
*freebsd-mk-defs-6.0-r2 (09 May 2006)
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.0-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.0-gnu.patch
index e13c9b2b285f..76c94e1b5934 100644
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.0-gnu.patch
+++ b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.0-gnu.patch
@@ -52,7 +52,7 @@ Index: mk/bsd.lib.mk
@${CC} ${LDFLAGS} -shared -Wl,-x \
-o ${.TARGET} -Wl,-soname,${SONAME} \
- `lorder ${SOBJS} | tsort -q` ${LDADD}
-+ ${SOBJS} ${LDADD}
++ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD}
.endif
.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)