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

(-)ebuild.sh.orig (-4 / +4 lines)
Lines 5-11 Link Here
5
	# If $T is defined, then we're not simply calculating dependencies and
5
	# If $T is defined, then we're not simply calculating dependencies and
6
	# can backup/restore our env otherwise, we don't wanna try it.
6
	# can backup/restore our env otherwise, we don't wanna try it.
7
	
7
	
8
	# Save the environment apon exit
8
	# Save the environment upon exit
9
	trap "esave_ebuild_env" EXIT
9
	trap "esave_ebuild_env" EXIT
10
10
11
	# Calls ebuild.sh with the required arguments, restoring a saved
11
	# Calls ebuild.sh with the required arguments, restoring a saved
Lines 213-219 Link Here
213
	    --localstatedir=/var/lib \
213
	    --localstatedir=/var/lib \
214
	    "$@" || die "econf failed" 
214
	    "$@" || die "econf failed" 
215
    else
215
    else
216
    	die "no configure script fond"
216
    	die "no configure script found"
217
	fi
217
	fi
218
}
218
}
219
219
Lines 512-518 Link Here
512
	#some packages use an alternative to $S to build in, cause
512
	#some packages use an alternative to $S to build in, cause
513
	#our libtool to create problematic .la files
513
	#our libtool to create problematic .la files
514
	export PWORKDIR="$WORKDIR"
514
	export PWORKDIR="$WORKDIR"
515
	#some users have $TMPDIR to a custom dir in theif home ...            
515
	#some users have $TMPDIR to a custom dir in their home ...            
516
	#this will cause sandbox errors with some ./configure            
516
	#this will cause sandbox errors with some ./configure            
517
	#scripts, so set it to $T.
517
	#scripts, so set it to $T.
518
	export TMPDIR="${T}"
518
	export TMPDIR="${T}"
Lines 581-587 Link Here
581
	#some packages uses an alternative to $S to build in, cause
581
	#some packages uses an alternative to $S to build in, cause
582
	#our libtool to create problematic .la files
582
	#our libtool to create problematic .la files
583
	export PWORKDIR="$WORKDIR"
583
	export PWORKDIR="$WORKDIR"
584
	#some users have $TMPDIR to a custom dir in thier home ...            
584
	#some users have $TMPDIR to a custom dir in their home ...            
585
	#this will cause sandbox errors with some ./configure            
585
	#this will cause sandbox errors with some ./configure            
586
	#scripts, so set it to $T.
586
	#scripts, so set it to $T.
587
	export TMPDIR="${T}"
587
	export TMPDIR="${T}"

Return to bug 7263