xbps-src: do not append to make_install_args, to make overrides possible.

Thanks @chneukirchen
This commit is contained in:
Juan RP 2015-02-19 16:38:30 +01:00
parent a166be8465
commit a762a716be
8 changed files with 9 additions and 24 deletions

View file

@ -46,8 +46,6 @@ do_install() {
: ${make_cmd:=make}
: ${make_install_target:=install}
make_install_args+=" DESTDIR=${DESTDIR}"
cd build
${make_cmd} ${make_install_args} ${make_install_target}
${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
}

View file

@ -18,7 +18,5 @@ do_install() {
: ${make_cmd:=make}
: ${make_install_target:=install}
make_install_args+=" DESTDIR=${DESTDIR}"
${make_cmd} ${make_install_args} ${make_install_target}
${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
}

View file

@ -17,7 +17,5 @@ do_install() {
: ${make_cmd:=make}
: ${make_install_target:=install}
make_install_args+=" DESTDIR=${DESTDIR}"
${make_cmd} ${make_install_args} ${make_install_target}
${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
}

View file

@ -14,7 +14,5 @@ do_install() {
: ${make_cmd:=make}
: ${make_install_target:=install}
make_install_args+=" STRIP=: PREFIX=/usr DESTDIR=${DESTDIR}"
${make_cmd} ${make_install_args} ${make_install_target}
${make_cmd} STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
}

View file

@ -58,7 +58,5 @@ do_install() {
: ${make_cmd:=make}
: ${make_install_target:=install}
make_install_args+=" DESTDIR=${DESTDIR}"
${make_cmd} ${make_install_args} ${make_install_target}
${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
}

View file

@ -30,8 +30,6 @@ do_install() {
: ${python_versions:=2.7}
local pyver= pysufx=
make_install_args+=" --prefix=/usr --root=$DESTDIR"
for pyver in $python_versions; do
if [ -n "$CROSS_BUILD" ]; then
PYPREFIX="$XBPS_CROSS_BASE"
@ -47,7 +45,8 @@ do_install() {
LDFLAGS="$LDFLAGS" python${pyver} setup.py \
build --build-base=build-${pyver} install ${make_install_args}
else
python${pyver} setup.py build --build-base=build-${pyver} install ${make_install_args}
python${pyver} setup.py build --build-base=build-${pyver} \
install --prefix=/usr --root=$DESTDIR ${make_install_args}
fi
done
}

View file

@ -10,7 +10,5 @@ do_build() {
}
do_install() {
make_install_args+=" --destdir=${DESTDIR}"
python waf install ${make_install_args}
python waf install --destdir=${DESTDIR} ${make_install_args}
}

View file

@ -10,7 +10,5 @@ do_build() {
}
do_install() {
make_install_args+=" --destdir=$DESTDIR"
PYTHON=python3 python3 waf install ${make_install_args}
PYTHON=python3 python3 waf install --destdir=${DESTDIR} ${make_install_args}
}