| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild,v 1.8 2012/03/03 15:08:38 maekke Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild,v 1.9 2012/03/05 05:40:58 vapier Exp $ |
| 4 | |
4 | |
| 5 | case ${PV} in |
5 | case ${PV} in |
| 6 | *_pre*) UP_PV="${PV%_pre*}-WIP-${PV#*_pre}" ;; |
6 | *_pre*) UP_PV="${PV%_pre*}-WIP-${PV#*_pre}" ;; |
| 7 | *) UP_PV=${PV} ;; |
7 | *) UP_PV=${PV} ;; |
| 8 | esac |
8 | esac |
| … | |
… | |
| 42 | epatch "${FILESDIR}"/${PN}-1.38-tests-locale.patch #99766 |
42 | epatch "${FILESDIR}"/${PN}-1.38-tests-locale.patch #99766 |
| 43 | epatch "${FILESDIR}"/${PN}-1.41.8-makefile.patch |
43 | epatch "${FILESDIR}"/${PN}-1.41.8-makefile.patch |
| 44 | epatch "${FILESDIR}"/${PN}-1.41.12-getpagesize.patch |
44 | epatch "${FILESDIR}"/${PN}-1.41.12-getpagesize.patch |
| 45 | epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch |
45 | epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch |
| 46 | epatch "${FILESDIR}"/${PN}-1.42-no-quota.patch |
46 | epatch "${FILESDIR}"/${PN}-1.42-no-quota.patch |
|
|
47 | epatch "${FILESDIR}"/${PN}-1.42-no-fallocate.patch #406609 |
| 47 | # use symlinks rather than hardlinks |
48 | # use symlinks rather than hardlinks |
| 48 | sed -i \ |
49 | sed -i \ |
| 49 | -e 's:$(LN) -f $(DESTDIR).*/:$(LN_S) -f :' \ |
50 | -e 's:$(LN) -f $(DESTDIR).*/:$(LN_S) -f :' \ |
| 50 | {e2fsck,misc}/Makefile.in || die |
51 | {e2fsck,misc}/Makefile.in || die |
| 51 | epatch "${FILESDIR}"/${PN}-1.41.12-darwin-makefile.patch |
52 | epatch "${FILESDIR}"/${PN}-1.41.12-darwin-makefile.patch |