summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild')
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild
index 84fd35a37943..39ca13c7b4e9 100644
--- a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.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-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild,v 1.1 2006/09/21 20:54:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild,v 1.2 2006/09/22 05:16:42 flameeyes Exp $
inherit bsdmk freebsd flag-o-matic toolchain-funcs
@@ -78,7 +78,8 @@ PATCHES="${FILESDIR}/${PN}-bsdxml.patch
${FILESDIR}/${PN}-6.0-flex-2.5.31.patch
${FILESDIR}/${PN}-6.0-binutils-asm.patch
${FILESDIR}/${PN}-6.0-ssp.patch
- ${FILESDIR}/${P}-csu-amd64.patch"
+ ${FILESDIR}/${PN}-6.1-csu-amd64.patch
+ ${FILESDIR}/${PN}-6.2-gcc41.patch"
# Here we disable and remove source which we don't need or want
# In order:
@@ -113,6 +114,11 @@ src_unpack() {
sed -i -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile"
sed -i -e 's:-o/dev/stdout:-t:' ${S}/libc/net/Makefile.inc
+
+ # Let arch-specific includes to be found
+ local machine
+ machine=$(tc-arch-kernel ${CTARGET})
+ ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine"
}
src_compile() {