Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 256234 | Differences between
and this patch

Collapse All | Expand All

(-)e2fsprogs-1.41.3-r1.ebuild (-2 / +6 lines)
Lines 36-41 Link Here
36
	epatch "${FILESDIR}"/${PN}-1.41.2-makefile.patch
36
	epatch "${FILESDIR}"/${PN}-1.41.2-makefile.patch
37
	epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch
37
	epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch
38
	epatch "${FILESDIR}"/${P}-tune2fs-opt.patch #253162
38
	epatch "${FILESDIR}"/${P}-tune2fs-opt.patch #253162
39
	epatch "${FILESDIR}"/${PN}-1.41-mint.patch
39
	# blargh ... trick e2fsprogs into using e2fsprogs-libs
40
	# blargh ... trick e2fsprogs into using e2fsprogs-libs
40
	rm -rf doc
41
	rm -rf doc
41
	sed -i -r \
42
	sed -i -r \
Lines 56-65 Link Here
56
	export CC=$(tc-getCC)
57
	export CC=$(tc-getCC)
57
	export STRIP=:
58
	export STRIP=:
58
59
60
	[[ ${CHOST} != *-mint* ]] && myconf="--enable-elf-shlibs"
61
59
	econf \
62
	econf \
60
		--bindir="${EPREFIX}"/bin \
63
		--bindir="${EPREFIX}"/bin \
61
		--sbindir="${EPREFIX}"/sbin \
64
		--sbindir="${EPREFIX}"/sbin \
62
		--enable-elf-shlibs \
65
		${myconf} \
63
		--with-ldopts="${LDFLAGS}" \
66
		--with-ldopts="${LDFLAGS}" \
64
		$(use_enable !elibc_uclibc tls) \
67
		$(use_enable !elibc_uclibc tls) \
65
		--without-included-gettext \
68
		--without-included-gettext \
Lines 100-106 Link Here
100
	local lib slib
103
	local lib slib
101
	for lib in "${ED}"/usr/$(get_libdir)/*.a ; do
104
	for lib in "${ED}"/usr/$(get_libdir)/*.a ; do
102
		slib=${lib##*/}
105
		slib=${lib##*/}
103
		mv "${lib%.a}"$(get_libname)* "${ED}"/$(get_libdir)/ || die "moving lib ${slib}"
106
		[[ ${CHOST} != *-mint* ]] && \
107
			mv "${lib%.a}"$(get_libname)* "${ED}"/$(get_libdir)/ || die "moving lib ${slib}"
104
		gen_usr_ldscript ${slib%.a}$(get_libname)
108
		gen_usr_ldscript ${slib%.a}$(get_libname)
105
	done
109
	done
106
110

Return to bug 256234