xbps-src: unset -v for vars, -f for funcs.
This commit is contained in:
parent
1dd1ec981c
commit
87c7b81d9b
1 changed files with 10 additions and 6 deletions
|
@ -92,8 +92,7 @@ reset_tmpl_vars()
|
||||||
short_desc maintainer long_desc checksum wrksrc \
|
short_desc maintainer long_desc checksum wrksrc \
|
||||||
make_cmd bootstrap register_shell keep_empty_dirs \
|
make_cmd bootstrap register_shell keep_empty_dirs \
|
||||||
make_build_target configure_script noextract nofetch \
|
make_build_target configure_script noextract nofetch \
|
||||||
pre_configure pre_build pre_install build_depends \
|
build_depends nostrip \
|
||||||
post_configure post_build post_install nostrip \
|
|
||||||
make_install_target version revision patch_args \
|
make_install_target version revision patch_args \
|
||||||
sgml_catalogs xml_catalogs xml_entries sgml_entries \
|
sgml_catalogs xml_catalogs xml_entries sgml_entries \
|
||||||
disable_parallel_build run_depends font_dirs preserve \
|
disable_parallel_build run_depends font_dirs preserve \
|
||||||
|
@ -104,15 +103,20 @@ reset_tmpl_vars()
|
||||||
build_wrksrc create_wrksrc broken_as_needed pkgver \
|
build_wrksrc create_wrksrc broken_as_needed pkgver \
|
||||||
ignore_vdeps_dir noverifyrdeps conflicts dkms_modules \
|
ignore_vdeps_dir noverifyrdeps conflicts dkms_modules \
|
||||||
gconf_entries gconf_schemas stow_copy stow_copy_files \
|
gconf_entries gconf_schemas stow_copy stow_copy_files \
|
||||||
pre_remove post_remove post_stow do_build do_install \
|
|
||||||
pycompile_dirs pycompile_module systemd_services \
|
pycompile_dirs pycompile_module systemd_services \
|
||||||
homepage license kernel_hooks_version do_configure \
|
homepage license kernel_hooks_version \
|
||||||
do_fetch \
|
|
||||||
SUBPKG XBPS_EXTRACT_DONE XBPS_CONFIGURE_DONE \
|
SUBPKG XBPS_EXTRACT_DONE XBPS_CONFIGURE_DONE \
|
||||||
XBPS_BUILD_DONE XBPS_INSTALL_DONE FILESDIR DESTDIR \
|
XBPS_BUILD_DONE XBPS_INSTALL_DONE FILESDIR DESTDIR \
|
||||||
SRCPKGDESTDIR PATCHESDIR CFLAGS CXXFLAGS CPPFLAGS \
|
SRCPKGDESTDIR PATCHESDIR CFLAGS CXXFLAGS CPPFLAGS \
|
||||||
CC CXX LDFLAGS LD_LIBRARY_PATH"
|
CC CXX LDFLAGS LD_LIBRARY_PATH"
|
||||||
eval unset "$TMPL_VARS"
|
|
||||||
|
local TMPL_FUNCS="pre_configure pre_build pre_install do_build \
|
||||||
|
do_install do_configure post_configure post_build \
|
||||||
|
post_install do_fetch pre_remove post_remove \
|
||||||
|
post_stow"
|
||||||
|
|
||||||
|
eval unset -v "$TMPL_VARS"
|
||||||
|
eval unset -f "$TMPL_FUNCS"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue