From 391a9a79cfa6cc7ff51140373a1238af3e32df44 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Dec 02 2018 19:58:39 +0000 Subject: vars/build.vars:libffi:${PKG_INSTALL_FILES}: replaces vars/libffi.vars. vars/libffi.vars: removed. --- diff --git a/vars/build.vars b/vars/build.vars index 5c10219..95dbb42 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -503,6 +503,7 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python"; : ${PKG_LIBFFI_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_VERSION}.tar.gz}; : ${PKG_LIBFFI_ENV_VARS_EXTRA:="MAKE=make LIBTOOL=slibtool"}; : ${PKG_LIBFFI_CFLAGS_CONFIGURE_EXTRA:=-D_WIN64}; +: ${PKG_LIBFFI_INSTALL_FILES:="lib/libffi-${PKG_LIBFFI_VERSION}/include/ffi.h=include/ffi.h lib/libffi-${PKG_LIBFFI_VERSION}/include/ffitarget.h=include/ffitarget.h"}; : ${PKG_LIBFFI_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/libffi-${PKG_LIBFFI_VERSION}.midipix.patch"}; : ${PKG_GDBM_SHA256SUM:=f9fde3207f67ed8a5a5ddd8ad5e7acf7b27c2cf0f20dfbdde876dcd6e3d2dc0e}; : ${PKG_GDBM_VERSION:=1.15}; diff --git a/vars/libffi.vars b/vars/libffi.vars deleted file mode 100644 index db8df17..0000000 --- a/vars/libffi.vars +++ /dev/null @@ -1,10 +0,0 @@ -# -# set -o errexit -o noglob are assumed. -# - -pkg_libffi_install_make_post() { - cp -f "${PREFIX_NATIVE}/lib/libffi-${PKG_VERSION}/include/ffi.h" "${PREFIX_NATIVE}/include/ffi.h" - cp -f "${PREFIX_NATIVE}/lib/libffi-${PKG_VERSION}/include/ffitarget.h" "${PREFIX_NATIVE}/include/ffitarget.h" -}; - -# vim:filetype=sh