| 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.5 2012/02/22 18:40:56 ranger Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild,v 1.6 2012/02/27 20:54:27 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 |
| … | |
… | |
| 135 | |
135 | |
| 136 | # Move shared libraries to /lib/, install static libraries to |
136 | # Move shared libraries to /lib/, install static libraries to |
| 137 | # /usr/lib/, and install linker scripts to /usr/lib/. |
137 | # /usr/lib/, and install linker scripts to /usr/lib/. |
| 138 | gen_usr_ldscript -a e2p ext2fs |
138 | gen_usr_ldscript -a e2p ext2fs |
| 139 | # configure doesn't have an option to disable static libs :/ |
139 | # configure doesn't have an option to disable static libs :/ |
| 140 | find "${D}" -name '*.a' -delete |
140 | use static-libs || find "${D}" -name '*.a' -delete |
| 141 | |
141 | |
| 142 | if use elibc_FreeBSD ; then |
142 | if use elibc_FreeBSD ; then |
| 143 | # Install helpers for us |
143 | # Install helpers for us |
| 144 | into / |
144 | into / |
| 145 | dosbin "${S}"/fsck_ext2fs || die |
145 | dosbin "${S}"/fsck_ext2fs || die |