xbps-src: do not append to make_install_args, to make overrides possible.
Thanks @chneukirchen
This commit is contained in:
parent
a166be8465
commit
a762a716be
8 changed files with 9 additions and 24 deletions
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue