summaryrefslogtreecommitdiffhomepage
path: root/subr.pkg/pkg_configure_patch.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr.pkg/pkg_configure_patch.subr')
-rw-r--r--subr.pkg/pkg_configure_patch.subr9
1 files changed, 4 insertions, 5 deletions
diff --git a/subr.pkg/pkg_configure_patch.subr b/subr.pkg/pkg_configure_patch.subr
index 8ed0ad33..07fb644d 100644
--- a/subr.pkg/pkg_configure_patch.subr
+++ b/subr.pkg/pkg_configure_patch.subr
@@ -7,8 +7,7 @@ pkg_configure_patch() {
local _pcp_group_name="${1}" _pcp_pkg_name="${2}" _pcp_restart_at="${3}" \
_pcp_patch_cwd="" _pcp_patch_dir="${MIDIPIX_BUILD_PWD}/patches" \
_pcp_patch_fname="" _pcp_patch_idx=0 _pcp_patches_done="" \
- _pcp_pkg_name_full="" _pcp_strip_count=0;
- _pcp_pkg_name_full="${_pcp_pkg_name}${PKG_VERSION:+-${PKG_VERSION}}";
+ _pcp_strip_count=0;
if [ "${PKG_FNAME:+1}" = 1 ]\
&& [ "${PKG_URLS_GIT:+1}" = 1 ];
@@ -21,9 +20,9 @@ pkg_configure_patch() {
fi;
_pcp_patch_idx=1;
- while ex_pkg_get_default \
- \$_pcp_patch_fname "${_pcp_pkg_name}" \
- "${PKG_VERSION}" "patches" "${_pcp_patch_idx}" \
+ while ex_pkg_get_default \
+ \$_pcp_patch_fname "${_pcp_pkg_name}" \
+ "${PKG_VERSION:-}" "patches" "${_pcp_patch_idx}" \
&& [ "${_pcp_patch_fname:+1}" = 1 ];
do
: $((_pcp_patch_idx += 1));