summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-30 03:32:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-30 03:32:57 +0000
commitab8cb178350c53470b05946c035f982954c7ed6d (patch)
tree940bf08591f8e43a5e059ea90e6fefb54d13ea9b /sys-freebsd/freebsd-mk-defs/files
parentCommit the first try patch for ssp, thanks to solar. (diff)
downloadgentoo-2-ab8cb178350c53470b05946c035f982954c7ed6d.tar.gz
gentoo-2-ab8cb178350c53470b05946c035f982954c7ed6d.tar.bz2
gentoo-2-ab8cb178350c53470b05946c035f982954c7ed6d.zip
Finally fix the crosscompile.
(Portage version: 2.1_pre10)
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs/files')
-rw-r--r--sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-6.0-gnu.patch27
1 files changed, 27 insertions, 0 deletions
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 d672c6fe3139..e13c9b2b285f 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
@@ -29,6 +29,33 @@ Index: mk/bsd.lib.mk
===================================================================
--- mk.orig/bsd.lib.mk
+++ mk/bsd.lib.mk
+@@ -105,7 +105,7 @@ _LIBS= lib${LIB}.a
+ lib${LIB}.a: ${OBJS} ${STATICOBJS}
+ @${ECHO} building static ${LIB} library
+ @rm -f ${.TARGET}
+- @${AR} cq ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD}
++ @${AR} cq ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD}
+ ${RANLIB} ${.TARGET}
+ .endif
+
+@@ -118,7 +118,7 @@ POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=
+ lib${LIB}_p.a: ${POBJS}
+ @${ECHO} building profiled ${LIB} library
+ @rm -f ${.TARGET}
+- @${AR} cq ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD}
++ @${AR} cq ${.TARGET} ${POBJS} ${ARADD}
+ ${RANLIB} ${.TARGET}
+ .endif
+
+@@ -138,7 +138,7 @@ ${SHLIB_NAME}: ${SOBJS}
+ .endif
+ @${CC} ${LDFLAGS} -shared -Wl,-x \
+ -o ${.TARGET} -Wl,-soname,${SONAME} \
+- `lorder ${SOBJS} | tsort -q` ${LDADD}
++ ${SOBJS} ${LDADD}
+ .endif
+
+ .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
@@ -183,13 +183,6 @@ _EXTRADEPEND:
.if !target(install)