diff --git a/common/environment/setup/sourcepkg.sh b/common/environment/setup/sourcepkg.sh index 0a6e54f96cf..cf35358c8e0 100644 --- a/common/environment/setup/sourcepkg.sh +++ b/common/environment/setup/sourcepkg.sh @@ -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 diff --git a/common/xbps-src/libexec/xbps-src-doinstall.sh b/common/xbps-src/libexec/xbps-src-doinstall.sh index af30e5ae5e2..63280088267 100755 --- a/common/xbps-src/libexec/xbps-src-doinstall.sh +++ b/common/xbps-src/libexec/xbps-src-doinstall.sh @@ -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 diff --git a/common/xbps-src/libexec/xbps-src-dopkg.sh b/common/xbps-src/libexec/xbps-src-dopkg.sh index d2ff5531730..ac4c0ca419b 100755 --- a/common/xbps-src/libexec/xbps-src-dopkg.sh +++ b/common/xbps-src/libexec/xbps-src-dopkg.sh @@ -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 diff --git a/common/xbps-src/libexec/xbps-src-prepkg.sh b/common/xbps-src/libexec/xbps-src-prepkg.sh index abc8988ec40..44b2de947d6 100755 --- a/common/xbps-src/libexec/xbps-src-prepkg.sh +++ b/common/xbps-src/libexec/xbps-src-prepkg.sh @@ -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