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

Collapse All | Expand All

(-)/home/flame/devel/gentoo-x86/media-libs/jpeg/jpeg-6b-r4.ebuild (-7 / +5 lines)
Lines 16-29 Link Here
16
16
17
RDEPEND="virtual/libc"
17
RDEPEND="virtual/libc"
18
DEPEND="${RDEPEND}
18
DEPEND="${RDEPEND}
19
	>=sys-apps/sed-4
20
	>=sys-devel/libtool-1.5.10-r4"
19
	>=sys-devel/libtool-1.5.10-r4"
21
20
22
src_unpack() {
21
src_unpack() {
23
	unpack ${A}
22
	unpack ${A}
24
23
25
	# allow /etc/make.conf's HOST setting to apply
26
	cd ${S}
24
	cd ${S}
25
26
	# make shared libraries work on G/FBSD. Need to be before the sed
27
	epatch "${FILESDIR}/${P}-freebsd.patch"
28
29
	# allow /etc/make.conf's HOST setting to apply
27
	sed -i 's/ltconfig.*/& $CHOST/' configure
30
	sed -i 's/ltconfig.*/& $CHOST/' configure
28
	uclibctoolize
31
	uclibctoolize
29
	use ppc-macos && darwintoolize
32
	use ppc-macos && darwintoolize
Lines 54-64 Link Here
54
	insinto /usr/include
57
	insinto /usr/include
55
	doins jpegint.h
58
	doins jpegint.h
56
59
57
	if ! use ppc-macos ; then
58
		dosym libjpeg.so.62.0.0 /usr/$(get_libdir)/libjpeg.so.62
59
		dosym libjpeg.so.62.0.0 /usr/$(get_libdir)/libjpeg.so
60
	fi
61
62
	dodoc README install.doc usage.doc wizard.doc change.log \
60
	dodoc README install.doc usage.doc wizard.doc change.log \
63
		libjpeg.doc example.c structure.doc filelist.doc \
61
		libjpeg.doc example.c structure.doc filelist.doc \
64
		coderules.doc
62
		coderules.doc

Return to bug 92782