Rework how $revision is used. Works much better in all cases.

$version is not modified anymore.

--HG--
extra : convert_revision : a83408f47e22db2f34cd33d6d47eb2f045ae2758
This commit is contained in:
Juan RP
2009-03-28 08:27:29 +01:00
parent e0d52c9d11
commit 75bd88afc6
10 changed files with 106 additions and 60 deletions

View File

@@ -31,7 +31,7 @@ build_src_phase()
{
local pkgparam="$1"
local pkg="$pkgname-$version"
local f=
local f
[ -z $pkgparam ] && [ -z $pkgname -o -z $version ] && return 1
@@ -47,6 +47,8 @@ build_src_phase()
cd $wrksrc || exit 1
[ -n "$revision" ] && pkg="${pkg}_${revision}"
# cross compilation vars.
if [ -n "$cross_compiler" ]; then
. $XBPS_HELPERSDIR/cross-compilation.sh