From 8f8c83aa6ab451d2ef8ef04afabcadf73da846f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Tue, 1 Oct 2019 17:23:21 +0200 Subject: [PATCH] Windows package: when compiling slicot, use Makefile variables instead of patches --- windows/deps/Makefile | 24 +++++++-------- .../patches/slicot-32-with-underscore.patch | 30 ------------------- .../slicot-32-without-underscore.patch | 30 ------------------- ...64-with-32bit-integer-and-underscore.patch | 30 ------------------- .../slicot-64-with-32bit-integer.patch | 30 ------------------- ...64-with-64bit-integer-and-underscore.patch | 30 ------------------- .../slicot-64-with-64bit-integer.patch | 30 ------------------- 7 files changed, 12 insertions(+), 192 deletions(-) delete mode 100644 windows/deps/patches/slicot-32-with-underscore.patch delete mode 100644 windows/deps/patches/slicot-32-without-underscore.patch delete mode 100644 windows/deps/patches/slicot-64-with-32bit-integer-and-underscore.patch delete mode 100644 windows/deps/patches/slicot-64-with-32bit-integer.patch delete mode 100644 windows/deps/patches/slicot-64-with-64bit-integer-and-underscore.patch delete mode 100644 windows/deps/patches/slicot-64-with-64bit-integer.patch diff --git a/windows/deps/Makefile b/windows/deps/Makefile index d59ad0636..6723ed975 100644 --- a/windows/deps/Makefile +++ b/windows/deps/Makefile @@ -52,70 +52,70 @@ sources32/slicot-$(SLICOT_VERSION)-without-underscore: tarballs/slicot-$(SLICOT_ rm -rf sources32/slicot-*-without-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-32-without-underscore.patch + touch $@ sources32/slicot-$(SLICOT_VERSION)-with-underscore: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources32/slicot-*-with-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-32-with-underscore.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-32bit-integer: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-32bit-integer mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-32bit-integer.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-64bit-integer: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-64bit-integer mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-64bit-integer.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-32bit-integer-and-underscore: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-32bit-integer-and-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-32bit-integer-and-underscore.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-64bit-integer-and-underscore: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-64bit-integer-and-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-64bit-integer-and-underscore.patch + touch $@ lib32/Slicot/without-underscore/lib/libslicot_pic.a: sources32/slicot-$(SLICOT_VERSION)-without-underscore - make -C $< lib + make -C $< lib SLICOTLIB=../libslicot_pic.a OPTS="-O2 -g -fno-underscoring" FORTRAN=i686-w64-mingw32-gfortran LOADER=i686-w64-mingw32-gfortran ARCH=i686-w64-mingw32-ar i686-w64-mingw32-strip --strip-debug $