meta: remove support code for only_for_archs=

This commit is contained in:
maxice8 2019-03-14 18:45:47 -03:00 committed by maxice8
parent f0f9cfb8af
commit 415e6cd701
4 changed files with 1 additions and 16 deletions

View File

@ -3,7 +3,7 @@
## VARIABLES
unset -v pkgname version revision short_desc homepage license maintainer
unset -v archs only_for_archs distfiles checksum build_style build_helper nocross broken
unset -v archs distfiles checksum build_style build_helper nocross broken
unset -v configure_script configure_args wrksrc build_wrksrc create_wrksrc
unset -v make_build_args make_check_args make_install_args
unset -v make_build_target make_check_target make_install_target
@ -34,6 +34,3 @@ unset -f pre_build do_build post_build
unset -f pre_check do_check post_check
unset -f pre_install do_install post_install
unset -f do_clean
# deprecated
unset -v only_for_archs

View File

@ -57,10 +57,6 @@ if [ ! -f $XBPS_SUBPKG_INSTALL_DONE ]; then
archs=noarch
unset noarch
fi
if [ -n "$only_for_archs" ]; then
archs="$only_for_archs"
unset only_for_archs
fi
source_file $XBPS_COMMONDIR/environment/build-style/${build_style}.sh

View File

@ -39,10 +39,6 @@ if [ "$sourcepkg" != "$PKGNAME" ]; then
unset noarch
msg_warn "deprecated property 'noarch'. Use archs=noarch instead!\n"
fi
if [ -n "$only_for_archs" ]; then
archs="$only_for_archs"
unset only_for_archs
fi
fi
if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then

View File

@ -44,10 +44,6 @@ if [ "$sourcepkg" != "$PKGNAME" ]; then
archs=noarch
unset noarch
fi
if [ -n "$only_for_archs" ]; then
archs="$only_for_archs"
unset only_for_archs
fi
fi
source_file $XBPS_COMMONDIR/environment/build-style/${build_style}.sh