summaryrefslogtreecommitdiffhomepage
path: root/subr.pkg/pkg_configure_patch_pre.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr.pkg/pkg_configure_patch_pre.subr')
-rw-r--r--subr.pkg/pkg_configure_patch_pre.subr8
1 files changed, 4 insertions, 4 deletions
diff --git a/subr.pkg/pkg_configure_patch_pre.subr b/subr.pkg/pkg_configure_patch_pre.subr
index d315fb49..5f3c8fff 100644
--- a/subr.pkg/pkg_configure_patch_pre.subr
+++ b/subr.pkg/pkg_configure_patch_pre.subr
@@ -9,7 +9,7 @@ pkgp_configure_patch_pre() {
_ppcpp_patch_idx=1;
while ex_pkg_get_default \
\$_ppcpp_patch_fname "${PKG_NAME}" \
- "${PKG_VERSION}" "patches_pre" "${_ppcpp_patch_idx}" \
+ "${PKG_VERSION:-}" "patches_pre" "${_ppcpp_patch_idx}" \
&& [ "${_pcp_patch_fname:+1}" = 1 ];
do
: $((_ppcpp_patch_idx += 1));
@@ -25,9 +25,9 @@ pkgp_configure_patch_pre() {
pkgp_configure_patch_pre_chainport() {
local _ppcppc_patch_dname="" _ppcppc_patch_fname="";
- ex_pkg_get_default \
- \$_ppcppc_patch_fname "${PKG_NAME}" \
- "${PKG_VERSION}" "patches_chainport" 1 \
+ ex_pkg_get_default \
+ \$_ppcppc_patch_fname "${PKG_NAME}" \
+ "${PKG_VERSION:-}" "patches_chainport" 1 \
|| return 1;
if [ "${_ppcppc_patch_fname:+1}" = 1 ]\