summaryrefslogtreecommitdiffhomepage
path: root/004.psxstub.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-09 18:58:37 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-09 18:58:37 +0000
commit95162014754fca037510884f5a3c0c73988cd902 (patch)
treec66d9cc03d8809c467509faf59536cdf0796af73 /004.psxstub.vars
parent87cf3d28e3e7dd2ad1960b72d0a342cdf306134d (diff)
downloadmidipix_build-95162014754fca037510884f5a3c0c73988cd902.tar.bz2
midipix_build-95162014754fca037510884f5a3c0c73988cd902.tar.xz
Adds and integrates slibtool:
- Adds ${PKG_SLIBTOOL}. - pkg.build: export ${MAKE} as `make LIBTOOL=${PKG_SLIBTOOL}'. - binutils{_host,}: use slibtool-static. - git: add NEEDS_SSL_WITH_CURL=1 to ${PKG_GIT_MAKEFLAGS_BUILD_EXTRA}. - pacman-5.0.1: add `LIBALPM_LIBS=-lssl -lbz2 -llzma -lz' to ${PKG_PACMAN_ENV_VARS_EXTRA}; Makefile.am patch. Introduces 32-bit (i686-nt32-midipix) support, selected by ARCH=nt32 and defaulting to 64-bit builds: - Create ${PREFIX_TARGET}/lib. - Remove ${PREFIX_TARGET} when cleaning the prefix if -c has been specified. - Set ${HOST_NATIVE}, ${TARGET}, and ${TARBALL_{SRC_,}FNAME_PREFIX} from ${ARCH}. - pkg.build: use ${TARGET}-dlltool instead of x86_64-nt64-midipix-dlltool. - glib-2.46.2: broken at present. - libffi-3.2.1/src/x86/win32.S: fix symbol prefix. - musl-1.1.12/arch/nt32/bits/syscall.h: copied from musl-1.1.12/arch/nt64/bits/syscall.h. - perl-5.22.1: Set --target from ${TARGET}. Bug fixes: - psxstub: make {_,__}so_entry_point weak symbols to express preference for the real psxscl shared object. - bash-4.3: fix lib/intl/libgnuintl.h issue. - libarchive-3.1.2: import FreeBSD-SA-16:23.libarchive and FreeBSD-SA-16:22.libarchive security fixes. Include all directories beneath ${WORKDIR} in the source tarball. Updated TODO list at the end of README.
Diffstat (limited to '004.psxstub.vars')
-rw-r--r--004.psxstub.vars21
1 files changed, 21 insertions, 0 deletions
diff --git a/004.psxstub.vars b/004.psxstub.vars
new file mode 100644
index 00000000..77c41c5a
--- /dev/null
+++ b/004.psxstub.vars
@@ -0,0 +1,21 @@
+#
+# . ./build.vars and set -o errexit are assumed.
+#
+
+pkg_psxstub_finish() {
+ if ! is_build_script_done patch; then
+ patch -b -d psxstub -p1 \
+ < ${MIDIPIX_BUILD_PWD}/psxstub.local.patch;
+ set_build_script_done patch -install;
+ fi;
+ if ! is_build_script_done install; then
+ if [ "${TARGET}" = i686-nt32-midipix ] \
+ || [ "${TARGET}" = x86_64-nt64-midipix ]; then
+ cd psxstub;
+ make ${MAKEFLAGS} DESTDIR=${PREFIX_LVL} TARGET=${TARGET} install;
+ set_build_script_done install finish;
+ fi;
+ fi;
+};
+
+# vim:filetype=sh