diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-23 13:04:08 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-23 13:04:08 +0000 |
commit | ad72fd4df7a9be0a197b683844fee0c6f37eaee8 (patch) | |
tree | 49d638e4fe0002c1c378eb6a45ad537a9efd8e5a /pkg.build | |
parent | 4ca5109536f379359778a45655718dc6948ed2b5 (diff) | |
download | midipix_build-ad72fd4df7a9be0a197b683844fee0c6f37eaee8.tar.bz2 midipix_build-ad72fd4df7a9be0a197b683844fee0c6f37eaee8.tar.xz |
Git v2.9.0: use the supplied configure.ac script to build.
- Call autoconf in ${PKG_SUBDIR} if ${PKG_AUTOCONF} is set; additionally
copies config.sub to ${PKG_SUBDIR}/build-aux if the latter is present.
Diffstat (limited to 'pkg.build')
-rw-r--r-- | pkg.build | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -53,9 +53,21 @@ if ! is_build_script_done build_dir; then fi; if ! is_build_script_done patch; then if [ ${PKG_AUTOGEN:-0} -eq 1 ]; then - cd ${PKG_SUBDIR} && \ - install -m 0700 ${MIDIPIX_BUILD_PWD}/config.sub build-aux/ &&\ - ./autogen.sh && cd ${OLDPWD}; + if [ -d ${PKG_SUBDIR}/build-aux ]; then + install -m 0700 ${MIDIPIX_BUILD_PWD}/config.sub \ + ${PKG_SUBDIR}/build-aux; + fi; + if [ -x ${PKG_SUBDIR}/autogen.sh ]; then + (cd ${PKG_SUBDIR} && ./autogen.sh) || exit 1; + fi; + elif [ ${PKG_AUTOCONF:-0} -eq 1 ]; then + if [ -d ${PKG_SUBDIR}/build-aux ]; then + install -m 0700 ${MIDIPIX_BUILD_PWD}/config.sub \ + ${PKG_SUBDIR}/build-aux; + fi; + if [ -r ${PKG_SUBDIR}/configure.ac ]; then + (cd ${PKG_SUBDIR} && autoconf) || exit 1; + fi; fi; for PATCH_FNAME in portage/${PKG_SUBDIR}.midipix.patch \ ${MIDIPIX_BUILD_PWD}/${PKG_SUBDIR}.local.patch \ |