summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-15 12:44:26 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-15 12:44:26 +0000
commite1d4697bc4af580c8bbdb8256fdc90626e18a226 (patch)
tree99c4cf49c4ba57d83bb03512bce0a89a0ac9d9f3 /vars
parentb6a9a1a3c8b98077cce47d579069c42080d17da5 (diff)
downloadmidipix_build-e1d4697bc4af580c8bbdb8256fdc90626e18a226.tar.bz2
midipix_build-e1d4697bc4af580c8bbdb8256fdc90626e18a226.tar.xz
Set -o nounset in addition to +o errexit -o nounset.
groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file.
Diffstat (limited to 'vars')
-rw-r--r--vars/apr.vars2
-rw-r--r--vars/bash.vars2
-rw-r--r--vars/binutils.vars2
-rw-r--r--vars/bison.vars2
-rw-r--r--vars/busybox.vars2
-rw-r--r--vars/ca_certificates.vars2
-rw-r--r--vars/chainport_host.vars2
-rw-r--r--vars/clang_host.vars2
-rw-r--r--vars/cmake.vars2
-rw-r--r--vars/dbus_host.vars2
-rw-r--r--vars/emacs.vars2
-rw-r--r--vars/gcc.vars4
-rw-r--r--vars/gdb.vars2
-rw-r--r--vars/gdk.vars2
-rw-r--r--vars/ghostscript.vars2
-rw-r--r--vars/git.vars2
-rw-r--r--vars/glib.vars2
-rw-r--r--vars/gnutls.vars2
-rw-r--r--vars/htop.vars2
-rw-r--r--vars/install_strip_host.vars2
-rw-r--r--vars/libevent.vars2
-rw-r--r--vars/libfirm.vars2
-rw-r--r--vars/libgcrypt.vars2
-rw-r--r--vars/libjpeg_turbo.vars2
-rw-r--r--vars/libksba.vars2
-rw-r--r--vars/libnettle.vars2
-rw-r--r--vars/libpcap.vars2
-rw-r--r--vars/libressl_host.vars2
-rw-r--r--vars/libsolv.vars2
-rw-r--r--vars/libtool_host.vars26
-rw-r--r--vars/libxml2.vars2
-rw-r--r--vars/libzip.vars2
-rw-r--r--vars/lighttpd.vars2
-rw-r--r--vars/llvm_host.vars2
-rw-r--r--vars/lolcode.vars2
-rw-r--r--vars/make.vars2
-rw-r--r--vars/mc.vars2
-rw-r--r--vars/mpackage_host.vars2
-rw-r--r--vars/musl.vars2
-rw-r--r--vars/mutt.vars2
-rw-r--r--vars/nano.vars2
-rw-r--r--vars/nasm_host.vars2
-rw-r--r--vars/nginx.vars2
-rw-r--r--vars/nullmailer.vars2
-rw-r--r--vars/openbsd_baseutils.vars2
-rw-r--r--vars/openjpeg.vars2
-rw-r--r--vars/perl.vars2
-rw-r--r--vars/pkgconf_host.vars2
-rw-r--r--vars/procps_ng.vars2
-rw-r--r--vars/psxstub_host.vars2
-rw-r--r--vars/python2.vars2
-rw-r--r--vars/python2_host.vars2
-rw-r--r--vars/python3.vars2
-rw-r--r--vars/python3_host.vars2
-rw-r--r--vars/rc.vars2
-rw-r--r--vars/rpm_host.vars2
-rw-r--r--vars/ruby.vars2
-rw-r--r--vars/sdl1.vars2
-rw-r--r--vars/smallbasic.vars2
-rw-r--r--vars/tcl.vars2
-rw-r--r--vars/texinfo.vars14
-rw-r--r--vars/texinfo_host.vars2
-rw-r--r--vars/tzdb_host.vars2
-rw-r--r--vars/util_linux.vars2
-rw-r--r--vars/vim.vars2
-rw-r--r--vars/w3m.vars2
-rw-r--r--vars/xcb.vars2
-rw-r--r--vars/yabasic.vars2
-rw-r--r--vars/zsh.vars2
69 files changed, 75 insertions, 101 deletions
diff --git a/vars/apr.vars b/vars/apr.vars
index 4ed7cbbd..42568202 100644
--- a/vars/apr.vars
+++ b/vars/apr.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_APR_CONFIG_CACHE_EXTRA:="
diff --git a/vars/bash.vars b/vars/bash.vars
index 10bc6eab..94db72a8 100644
--- a/vars/bash.vars
+++ b/vars/bash.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_BASH_CONFIG_CACHE_EXTRA:="
diff --git a/vars/binutils.vars b/vars/binutils.vars
index bc5e4b3b..a6907df4 100644
--- a/vars/binutils.vars
+++ b/vars/binutils.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_binutils_configure_patch_post() {
diff --git a/vars/bison.vars b/vars/bison.vars
index 4e0d43b5..252b781a 100644
--- a/vars/bison.vars
+++ b/vars/bison.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_BISON_CONFIG_CACHE_EXTRA:="
diff --git a/vars/busybox.vars b/vars/busybox.vars
index 7fb88cdd..e526fc00 100644
--- a/vars/busybox.vars
+++ b/vars/busybox.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_busybox_configure() {
diff --git a/vars/ca_certificates.vars b/vars/ca_certificates.vars
index 9a162dfe..cd423ff8 100644
--- a/vars/ca_certificates.vars
+++ b/vars/ca_certificates.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_ca_certificates_install_make_pre() {
diff --git a/vars/chainport_host.vars b/vars/chainport_host.vars
index a4108eb4..40dd3516 100644
--- a/vars/chainport_host.vars
+++ b/vars/chainport_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_chainport_host_install_make() {
diff --git a/vars/clang_host.vars b/vars/clang_host.vars
index 851564f1..b9909276 100644
--- a/vars/clang_host.vars
+++ b/vars/clang_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_clang_host_configure() {
diff --git a/vars/cmake.vars b/vars/cmake.vars
index 4a830a6e..df190732 100644
--- a/vars/cmake.vars
+++ b/vars/cmake.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_cmake_configure() {
diff --git a/vars/dbus_host.vars b/vars/dbus_host.vars
index 899133ea..dc22cb2b 100644
--- a/vars/dbus_host.vars
+++ b/vars/dbus_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_dbus_host_install_pre() {
diff --git a/vars/emacs.vars b/vars/emacs.vars
index 06d4d9b5..5cdfed56 100644
--- a/vars/emacs.vars
+++ b/vars/emacs.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_EMACS_CONFIG_CACHE_EXTRA:="
diff --git a/vars/gcc.vars b/vars/gcc.vars
index f2354ca1..eacb9910 100644
--- a/vars/gcc.vars
+++ b/vars/gcc.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
# Order: stage1_host, runtime_host, libstdcpp_v3_host, full_host, full
# Order: stage1_mingw32, native_mingw32
#
@@ -219,7 +219,7 @@ pkg_gcc_full_all() {
fi;
pkgp_gcc_state_set "patch" -"configure";
fi;
- pkgp_gcc_setup_env "${PKG_VERSION}";
+ pkgp_gcc_setup_vars; pkgp_gcc_setup_env;
if ! ex_pkg_state_test "${PKG_NAME}" configure "${_restart_at}"; then
rtl_fileop mkdir "${PKG_PREFIX}/${PKG_TARGET}" || return 1;
if [ \! -d "${PKG_PREFIX}/${PKG_TARGET}/usr" ]; then
diff --git a/vars/gdb.vars b/vars/gdb.vars
index 1c8e5326..0a5e2eb4 100644
--- a/vars/gdb.vars
+++ b/vars/gdb.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_gdb_configure_patch_post() {
diff --git a/vars/gdk.vars b/vars/gdk.vars
index 0274be8c..c1449292 100644
--- a/vars/gdk.vars
+++ b/vars/gdk.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_GDB_CONFIG_CACHE_EXTRA:="
diff --git a/vars/ghostscript.vars b/vars/ghostscript.vars
index e3fef154..c604580a 100644
--- a/vars/ghostscript.vars
+++ b/vars/ghostscript.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_ghostscript_configure_patch_pre() {
diff --git a/vars/git.vars b/vars/git.vars
index 80d24c8b..b44ff74f 100644
--- a/vars/git.vars
+++ b/vars/git.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_GIT_CONFIG_CACHE_EXTRA:="
diff --git a/vars/glib.vars b/vars/glib.vars
index 23b4ca7e..8031f5bf 100644
--- a/vars/glib.vars
+++ b/vars/glib.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_GLIB_CONFIG_CACHE_EXTRA:="
diff --git a/vars/gnutls.vars b/vars/gnutls.vars
index 651d17f5..41832dea 100644
--- a/vars/gnutls.vars
+++ b/vars/gnutls.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_GNUTLS_CONFIG_CACHE_EXTRA:="
diff --git a/vars/htop.vars b/vars/htop.vars
index bb4d0829..3d6203d7 100644
--- a/vars/htop.vars
+++ b/vars/htop.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_HTOP_CONFIG_CACHE_EXTRA:="
diff --git a/vars/install_strip_host.vars b/vars/install_strip_host.vars
index 624cb749..39cd15e4 100644
--- a/vars/install_strip_host.vars
+++ b/vars/install_strip_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_install_strip_host_all() {
diff --git a/vars/libevent.vars b/vars/libevent.vars
index bfefd791..2e83eb3e 100644
--- a/vars/libevent.vars
+++ b/vars/libevent.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_LIBEVENT_CONFIG_CACHE_EXTRA:="
diff --git a/vars/libfirm.vars b/vars/libfirm.vars
index 2ec01b98..47886b8e 100644
--- a/vars/libfirm.vars
+++ b/vars/libfirm.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_cparser_configure_pre() {
diff --git a/vars/libgcrypt.vars b/vars/libgcrypt.vars
index a7f08444..847eab80 100644
--- a/vars/libgcrypt.vars
+++ b/vars/libgcrypt.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_LIBGCRYPT_CONFIG_CACHE_EXTRA:="
diff --git a/vars/libjpeg_turbo.vars b/vars/libjpeg_turbo.vars
index a8f1a8d5..e89baf78 100644
--- a/vars/libjpeg_turbo.vars
+++ b/vars/libjpeg_turbo.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_libjpeg_turbo_configure() {
diff --git a/vars/libksba.vars b/vars/libksba.vars
index 1560e097..1948e3da 100644
--- a/vars/libksba.vars
+++ b/vars/libksba.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_LIBKSBA_CONFIG_CACHE_EXTRA:="
diff --git a/vars/libnettle.vars b/vars/libnettle.vars
index 863da683..86e82816 100644
--- a/vars/libnettle.vars
+++ b/vars/libnettle.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_libnettle_install_make_post() {
diff --git a/vars/libpcap.vars b/vars/libpcap.vars
index 2fada3bd..2edff37b 100644
--- a/vars/libpcap.vars
+++ b/vars/libpcap.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_LIBPCAP_CONFIG_CACHE_EXTRA:="
diff --git a/vars/libressl_host.vars b/vars/libressl_host.vars
index 3a216f06..212cd0f5 100644
--- a/vars/libressl_host.vars
+++ b/vars/libressl_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_libressl_host_install_pre() {
diff --git a/vars/libsolv.vars b/vars/libsolv.vars
index 494b0ade..84472c9d 100644
--- a/vars/libsolv.vars
+++ b/vars/libsolv.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_libsolv_configure() {
diff --git a/vars/libtool_host.vars b/vars/libtool_host.vars
deleted file mode 100644
index 4e35a82c..00000000
--- a/vars/libtool_host.vars
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# set +o errexit -o noglob is assumed.
-#
-
-pkg_libtool_host_build() {
- local _no_autoconf="";
- if [ ! -x "${PKG_CONFIGURE}" ]; then
- _no_autoconf=1;
- fi;
- # N.B. We only specify CC= here if the current package does not use GNU
- # autoconf as it often abuses it by appending -std={gnu99,...} to it
- # instead of amending CFLAGS.
- rtl_run_cmd_unsplit make \
- ${PKG_MAKEFLAGS_BUILD} \
- ${PKG_MAKEFLAGS_BUILD_EXTRA} \
- "AR=${PKG_AR}" "${_no_autoconf:+CC=${PKG_CC}}" \
- "RANLIB=${PKG_RANLIB}" \
- "${PKG_CFLAGS_BUILD:+CFLAGS=${PKG_CFLAGS_BUILD}}" \
- "${PKG_CFLAGS_BUILD_EXTRA:+CFLAGS+=${PKG_CFLAGS_BUILD_EXTRA}}" \
- "${PKG_LDFLAGS_BUILD:+LDFLAGS=${PKG_LDFLAGS_BUILD}}" \
- "${PKG_LDFLAGS_BUILD_EXTRA:+LDFLAGS+=${PKG_LDFLAGS_BUILD_EXTRA}}"\
- "${PKG_PKG_CONFIG:+PKG_CONFIG=${PKG_PKG_CONFIG}}" \
- "${PKG_PKG_CONFIG_PATH:+PKG_CONFIG_PATH=${PKG_PKG_CONFIG_PATH}}";
-};
-
-# vim:filetype=sh textwidth=0
diff --git a/vars/libxml2.vars b/vars/libxml2.vars
index 42dbe42f..9101c048 100644
--- a/vars/libxml2.vars
+++ b/vars/libxml2.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_libxml2_install_make_post() {
diff --git a/vars/libzip.vars b/vars/libzip.vars
index 57b85798..5536ee24 100644
--- a/vars/libzip.vars
+++ b/vars/libzip.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_libzip_configure() {
diff --git a/vars/lighttpd.vars b/vars/lighttpd.vars
index 0c691ed2..b6386d10 100644
--- a/vars/lighttpd.vars
+++ b/vars/lighttpd.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_LIGHTTPD_CONFIG_CACHE_EXTRA:="
diff --git a/vars/llvm_host.vars b/vars/llvm_host.vars
index 6ba611bc..82903743 100644
--- a/vars/llvm_host.vars
+++ b/vars/llvm_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_llvm_host_configure() {
diff --git a/vars/lolcode.vars b/vars/lolcode.vars
index 282f9b5f..f610063c 100644
--- a/vars/lolcode.vars
+++ b/vars/lolcode.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_lolcode_configure() {
diff --git a/vars/make.vars b/vars/make.vars
index 7d44185b..adac8fcc 100644
--- a/vars/make.vars
+++ b/vars/make.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_MAKE_CONFIG_CACHE_EXTRA:="
diff --git a/vars/mc.vars b/vars/mc.vars
index 8c01d872..01dcb124 100644
--- a/vars/mc.vars
+++ b/vars/mc.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_MC_CONFIG_CACHE_EXTRA:="
diff --git a/vars/mpackage_host.vars b/vars/mpackage_host.vars
index b04cf31d..b7f8d756 100644
--- a/vars/mpackage_host.vars
+++ b/vars/mpackage_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_mpackage_host_install_make() {
diff --git a/vars/musl.vars b/vars/musl.vars
index ed7c97bd..313704d9 100644
--- a/vars/musl.vars
+++ b/vars/musl.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_musl_full_fetch_download_post() {
diff --git a/vars/mutt.vars b/vars/mutt.vars
index 733374d7..f9d27c82 100644
--- a/vars/mutt.vars
+++ b/vars/mutt.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_MUTT_CONFIG_CACHE_EXTRA:="
diff --git a/vars/nano.vars b/vars/nano.vars
index d58eb710..24933ef9 100644
--- a/vars/nano.vars
+++ b/vars/nano.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_NANO_CONFIG_CACHE_EXTRA:="
diff --git a/vars/nasm_host.vars b/vars/nasm_host.vars
index 9d697a27..922eedd0 100644
--- a/vars/nasm_host.vars
+++ b/vars/nasm_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_nasm_host_install_make_post() {
diff --git a/vars/nginx.vars b/vars/nginx.vars
index f49f26dd..3698e093 100644
--- a/vars/nginx.vars
+++ b/vars/nginx.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_nginx_configure() {
diff --git a/vars/nullmailer.vars b/vars/nullmailer.vars
index b20d725f..07138bb2 100644
--- a/vars/nullmailer.vars
+++ b/vars/nullmailer.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_NULLMAILER_CONFIG_CACHE_EXTRA:="
diff --git a/vars/openbsd_baseutils.vars b/vars/openbsd_baseutils.vars
index e8ce809f..e070c6bf 100644
--- a/vars/openbsd_baseutils.vars
+++ b/vars/openbsd_baseutils.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_openbsd_baseutils_build() {
diff --git a/vars/openjpeg.vars b/vars/openjpeg.vars
index b165f0ff..cfca5e25 100644
--- a/vars/openjpeg.vars
+++ b/vars/openjpeg.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_openjpeg_configure() {
diff --git a/vars/perl.vars b/vars/perl.vars
index b9708ec1..3ff7b94d 100644
--- a/vars/perl.vars
+++ b/vars/perl.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_perl_fetch_extract_post() {
diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars
index fe576fbe..2d2c97cf 100644
--- a/vars/pkgconf_host.vars
+++ b/vars/pkgconf_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_pkgconf_host_install_make_post() {
diff --git a/vars/procps_ng.vars b/vars/procps_ng.vars
index a945cb23..fcd2fd45 100644
--- a/vars/procps_ng.vars
+++ b/vars/procps_ng.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_PROCPS_NG_CONFIG_CACHE_EXTRA:="
diff --git a/vars/psxstub_host.vars b/vars/psxstub_host.vars
index 42282dcc..07d69305 100644
--- a/vars/psxstub_host.vars
+++ b/vars/psxstub_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_psxstub_install_make() {
diff --git a/vars/python2.vars b/vars/python2.vars
index ccb1d5b0..59691f39 100644
--- a/vars/python2.vars
+++ b/vars/python2.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_python2_fetch_download() {
diff --git a/vars/python2_host.vars b/vars/python2_host.vars
index 0338eb61..266b6663 100644
--- a/vars/python2_host.vars
+++ b/vars/python2_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_python2_host_fetch_download() {
diff --git a/vars/python3.vars b/vars/python3.vars
index b1bd7b58..d7d31c68 100644
--- a/vars/python3.vars
+++ b/vars/python3.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_python3_fetch_download() {
diff --git a/vars/python3_host.vars b/vars/python3_host.vars
index 07fe489f..014f0184 100644
--- a/vars/python3_host.vars
+++ b/vars/python3_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_python3_host_fetch_download() {
diff --git a/vars/rc.vars b/vars/rc.vars
index e6117df8..43941295 100644
--- a/vars/rc.vars
+++ b/vars/rc.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_RC_CONFIG_CACHE_EXTRA:="
diff --git a/vars/rpm_host.vars b/vars/rpm_host.vars
index 350b3717..ddb1fbd3 100644
--- a/vars/rpm_host.vars
+++ b/vars/rpm_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_rpm_host_install_pre() {
diff --git a/vars/ruby.vars b/vars/ruby.vars
index acb8757f..00491d52 100644
--- a/vars/ruby.vars
+++ b/vars/ruby.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_ruby_install_make_pre() {
diff --git a/vars/sdl1.vars b/vars/sdl1.vars
index f39019a0..b9d702a6 100644
--- a/vars/sdl1.vars
+++ b/vars/sdl1.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_sdl1_configure_autotools_pre() {
diff --git a/vars/smallbasic.vars b/vars/smallbasic.vars
index 21cf67d4..86e765cc 100644
--- a/vars/smallbasic.vars
+++ b/vars/smallbasic.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_SMALLBASIC_CONFIG_CACHE_EXTRA:="
diff --git a/vars/tcl.vars b/vars/tcl.vars
index ca6f9610..a4465917 100644
--- a/vars/tcl.vars
+++ b/vars/tcl.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_TCL_CONFIG_CACHE_EXTRA:="
diff --git a/vars/texinfo.vars b/vars/texinfo.vars
index 7e9aaa64..a23f8642 100644
--- a/vars/texinfo.vars
+++ b/vars/texinfo.vars
@@ -1,17 +1,17 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_texinfo_build_pre() {
if ! rtl_run_cmd_unsplit make \
- ${PKG_MAKEFLAGS_BUILD} \
- ${PKG_MAKEFLAGS_BUILD_EXTRA} \
- "LIBTOOL=${PKG_LIBTOOL:-slibtool}" \
+ ${PKG_MAKEFLAGS_BUILD:-} \
+ ${PKG_MAKEFLAGS_BUILD_EXTRA:-} \
+ ${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"} \
-C tools \
|| ! rtl_run_cmd_unsplit make \
- ${PKG_MAKEFLAGS_BUILD} \
- ${PKG_MAKEFLAGS_BUILD_EXTRA} \
- "LIBTOOL=${PKG_LIBTOOL:-slibtool}" \
+ ${PKG_MAKEFLAGS_BUILD:-} \
+ ${PKG_MAKEFLAGS_BUILD_EXTRA:-} \
+ ${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"} \
LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib" LIBS="-ltinfo" \
-C "tools/info"; then
return 1;
diff --git a/vars/texinfo_host.vars b/vars/texinfo_host.vars
index def754c0..12795622 100644
--- a/vars/texinfo_host.vars
+++ b/vars/texinfo_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_texinfo_host_install_make_post() {
diff --git a/vars/tzdb_host.vars b/vars/tzdb_host.vars
index 764bc4ef..080cbf59 100644
--- a/vars/tzdb_host.vars
+++ b/vars/tzdb_host.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkg_tzdb_host_install_pre() {
diff --git a/vars/util_linux.vars b/vars/util_linux.vars
index f3bb7e73..ede2911d 100644
--- a/vars/util_linux.vars
+++ b/vars/util_linux.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_UTIL_LINUX_CONFIG_CACHE_EXTRA:="
diff --git a/vars/vim.vars b/vars/vim.vars
index 9f1adcef..41712ca2 100644
--- a/vars/vim.vars
+++ b/vars/vim.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_VIM_CONFIG_CACHE_EXTRA:="
diff --git a/vars/w3m.vars b/vars/w3m.vars
index 94f3bc00..dab204ab 100644
--- a/vars/w3m.vars
+++ b/vars/w3m.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_W3M_CONFIG_CACHE_EXTRA:="
diff --git a/vars/xcb.vars b/vars/xcb.vars
index b913831e..e62caa87 100644
--- a/vars/xcb.vars
+++ b/vars/xcb.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_XCB_CONFIG_CACHE_EXTRA:="
diff --git a/vars/yabasic.vars b/vars/yabasic.vars
index 5ef50608..4a32c37e 100644
--- a/vars/yabasic.vars
+++ b/vars/yabasic.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_YABASIC_CONFIG_CACHE_EXTRA:="
diff --git a/vars/zsh.vars b/vars/zsh.vars
index 12ffcbdf..45e79593 100644
--- a/vars/zsh.vars
+++ b/vars/zsh.vars
@@ -1,5 +1,5 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
: ${PKG_ZSH_CONFIG_CACHE_EXTRA:="