diff options
author | Yuta Satoh <nigoro.dev@gmail.com> | 2016-06-16 19:29:51 +0900 |
---|---|---|
committer | Yuta Satoh <nigoro.dev@gmail.com> | 2016-06-16 19:29:51 +0900 |
commit | 198d3074b5a0bce9280302f11177ed333c3a2ec4 (patch) | |
tree | 240ae043c3e4278e556a9a48fe4bdfc476a4d09a /sys-freebsd | |
parent | sys-fs/ntfs3g: Stable for PPC64 (bug #550970). (diff) | |
download | gentoo-198d3074b5a0bce9280302f11177ed333c3a2ec4.tar.gz gentoo-198d3074b5a0bce9280302f11177ed333c3a2ec4.tar.bz2 gentoo-198d3074b5a0bce9280302f11177ed333c3a2ec4.zip |
sys-freebsd/freebsd-sources: Fix the issue that can not build bmake.
Diffstat (limited to 'sys-freebsd')
-rw-r--r-- | sys-freebsd/freebsd-sources/files/freebsd-ubin-10.3-bmake-workaround.patch | 13 | ||||
-rw-r--r-- | sys-freebsd/freebsd-sources/freebsd-sources-10.3-r3.ebuild | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-ubin-10.3-bmake-workaround.patch b/sys-freebsd/freebsd-sources/files/freebsd-ubin-10.3-bmake-workaround.patch new file mode 100644 index 000000000000..c0ca444b042d --- /dev/null +++ b/sys-freebsd/freebsd-sources/files/freebsd-ubin-10.3-bmake-workaround.patch @@ -0,0 +1,13 @@ +diff --git a/usr.bin/bmake/Makefile b/usr.bin/bmake/Makefile +index 6c6d8c2..22fec7a 100644 +--- a/usr.bin/bmake/Makefile ++++ b/usr.bin/bmake/Makefile +@@ -5,7 +5,7 @@ + + .sinclude "Makefile.inc" + +-SRCTOP?= ${.CURDIR:H:H} ++SRCTOP= ${.CURDIR:H:H} + + # look here first for config.h + CFLAGS+= -I${.CURDIR} diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-10.3-r3.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-10.3-r3.ebuild index 65202d3b55c1..8c16793d9488 100644 --- a/sys-freebsd/freebsd-sources/freebsd-sources-10.3-r3.ebuild +++ b/sys-freebsd/freebsd-sources/freebsd-sources-10.3-r3.ebuild @@ -71,6 +71,10 @@ pkg_setup() { src_prepare() { local conf="${S}/$(tc-arch-kernel)/conf/${KERN_BUILD}" + cd "${WORKDIR}" || die + epatch "${FILESDIR}/freebsd-ubin-10.3-bmake-workaround.patch" + cd "${S}" || die + # This replaces the gentoover patch, it doesn't need reapply every time. sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ |