Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58620
Collapse All | Expand All

(-)perl-5.8.4.ebuild.orig (-12 / +7 lines)
Lines 189-200 Link Here
189
		-Dd_dosuid \
189
		-Dd_dosuid \
190
		-Dd_semctl_semun \
190
		-Dd_semctl_semun \
191
		-Dscriptdir=/usr/bin \
191
		-Dscriptdir=/usr/bin \
192
		-Dman1dir=/usr/share/man/man1 \
193
		-Dman3dir=/usr/share/man/man3 \
194
		-Dinstallman1dir=${D}/usr/share/man/man1 \
195
		-Dinstallman3dir=${D}/usr/share/man/man3 \
196
		-Dman1ext='1' \
192
		-Dman3ext='3pm' \
197
		-Dman3ext='3pm' \
193
		-Dcf_by='Gentoo' \
198
		-Dcf_by='Gentoo' \
194
		-Ud_csh \
199
		-Ud_csh \
195
		${myconf} || die "Unable to configure"
200
		${myconf} || die "Unable to configure"
196
201
197
	MAKEOPTS="${MAKEOPTS} -j1" emake || die "Unable to make"
202
	emake -j1 || die "Unable to make"
198
203
199
	if ! hasq maketest $RESTRICT; then
204
	if ! hasq maketest $RESTRICT; then
200
		use uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
205
		use uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
Lines 217-226 Link Here
217
	# Fix for "stupid" modules and programs
222
	# Fix for "stupid" modules and programs
218
	dodir /usr/lib/perl5/site_perl/${PV}/${myarch}${mythreading}
223
	dodir /usr/lib/perl5/site_perl/${PV}/${myarch}${mythreading}
219
224
220
	make DESTDIR="${D}" \
225
	make DESTDIR="${D}" install || die "Unable to make install"
221
		INSTALLMAN1DIR="${D}/usr/share/man/man1" \
222
		INSTALLMAN3DIR="${D}/usr/share/man/man3" \
223
		install || die "Unable to make install"
224
226
225
	cp -f utils/h2ph utils/h2ph_patched
227
	cp -f utils/h2ph utils/h2ph_patched
226
	epatch ${FILESDIR}/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch
228
	epatch ${FILESDIR}/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch
Lines 251-263 Link Here
251
	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
253
	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
252
	fperms 0755 /usr/bin/xsubpp
254
	fperms 0755 /usr/bin/xsubpp
253
255
254
	if ! hasq noman $FEATURES; then
255
		# executing a binary we just built is not very cross
256
		# compiler friendly.
257
		./perl installman \
258
			--destdir="${D}" --man1ext='1' --man3ext='3'
259
	fi
260
261
	# This removes ${D} from Config.pm and .packlist
256
	# This removes ${D} from Config.pm and .packlist
262
	for i in `find ${D} -iname "Config.pm"` `find ${D} -iname ".packlist"`;do
257
	for i in `find ${D} -iname "Config.pm"` `find ${D} -iname ".packlist"`;do
263
		einfo "Removing ${D} from ${i}..."
258
		einfo "Removing ${D} from ${i}..."

Return to bug 58620