diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-20 15:27:06 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-11-20 20:20:51 +0000 |
commit | d01c0269b8e5e467f82cd28392579c4c43fe63bc (patch) | |
tree | 2e105ff06c5bb57331c42ba9aa4338fe94316dc1 /subr/pkg_configure.subr | |
parent | 49b46005e7f7ebebcf6b43d451918c5462ac28d4 (diff) | |
download | midipix_build-d01c0269b8e5e467f82cd28392579c4c43fe63bc.tar.bz2 midipix_build-d01c0269b8e5e467f82cd28392579c4c43fe63bc.tar.xz |
subr/pkg_{autoconf,configure,patch}.subr: reference ${PKG_BASE_DIR} instead of ${WORKDIR}.
subr/pkg_build_dir.subr: {build,install} packages nested within ${PKG_BUILD_DIR}/.
subr/pkg_distclean.subr: removed from repository.
subr/pkg_{extract,fetch}.subr: {extract,fetch} within ${PKG_BASE_DIR}.
subr/pkg_install.subr: install to ../destdir to facilitate post-installation processing.
subr/pkg_setup_env.subr: set & create ${PKG_BASE_DIR}.
subr/pre_subdirs.subr: always create ${PREFIX}/bin.
vars/build.vars: consistently use ${PKG_{PREFIX,MAKE_INSTALL_VNAME,MAKEFLAGS_INSTALL}}.
vars/env.vars, *: cleanup.
Diffstat (limited to 'subr/pkg_configure.subr')
-rw-r--r-- | subr/pkg_configure.subr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_configure.subr b/subr/pkg_configure.subr index d63b16e6..acc67a09 100644 --- a/subr/pkg_configure.subr +++ b/subr/pkg_configure.subr @@ -4,9 +4,9 @@ pkg_configure() { if [ -n "${PKG_CONFIGURE}" ]; then - PKG_CONFIGURE="${WORKDIR}/${PKG_CONFIGURE}"; + PKG_CONFIGURE="${PKG_BASE_DIR}/${PKG_CONFIGURE}"; else - PKG_CONFIGURE="${WORKDIR}/${PKG_SUBDIR}/configure"; + PKG_CONFIGURE="${PKG_BASE_DIR}/${PKG_SUBDIR}/configure"; fi; if [ -x "${PKG_CONFIGURE}" ]; then CFLAGS="${PKG_CFLAGS_CONFIGURE}${PKG_CFLAGS_CONFIGURE_EXTRA:+ ${PKG_CFLAGS_CONFIGURE_EXTRA}}" \ |