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

(-)ebuild.sh.orig (-4 / +10 lines)
Lines 411-416 Link Here
411
	if [ -z "${ECONF_SOURCE}" ]; then
411
	if [ -z "${ECONF_SOURCE}" ]; then
412
		ECONF_SOURCE="."
412
		ECONF_SOURCE="."
413
	fi
413
	fi
414
	
415
	if [ -f "${ECONF_SOURCE}/configure" ]; then
416
		if [ ! -e "${ECONF_SOURCE}/configure" ]; then
417
		vecho " * econf: configure is not executable: fixing it..."
418
		chmod +x "${ECONF_SOURCE:-.}/configure"
419
		fi
420
	else
421
		vecho " * econf: no configure script found: skipping configure stage" && return 0
422
	fi
423
		                
414
	if [ -x "${ECONF_SOURCE}/configure" ]; then
424
	if [ -x "${ECONF_SOURCE}/configure" ]; then
415
		if [ -e /usr/share/gnuconfig/ ]; then
425
		if [ -e /usr/share/gnuconfig/ ]; then
416
			find "${WORKDIR}" -type f '(' \
426
			find "${WORKDIR}" -type f '(' \
Lines 512-521 Link Here
512
			fi
522
			fi
513
			die "econf failed"
523
			die "econf failed"
514
		fi
524
		fi
515
	elif [ -f "${ECONF_SOURCE:-.}/configure" ]; then
516
		die "configure is not executable"
517
	else
518
		die "no configure script found"
519
	fi
525
	fi
520
}
526
}
521
527

Return to bug 240227