diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-11-17 01:59:17 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-11-17 01:59:17 (GMT) |
commit | 281f36290c7caec8a0ef135b404b3ffb8bd8da8e (patch) | |
tree | 40a7865d62f82790f761b7c90f884b75317b4003 | |
parent | a149a4a947ca7c2db28af473c0be5febbd118abb (diff) | |
download | mxe-281f36290c7caec8a0ef135b404b3ffb8bd8da8e.zip mxe-281f36290c7caec8a0ef135b404b3ffb8bd8da8e.tar.gz mxe-281f36290c7caec8a0ef135b404b3ffb8bd8da8e.tar.bz2 |
fix build issues of packages: lapack suitesparse
-rw-r--r-- | src/lapack.mk | 2 | ||||
-rw-r--r-- | src/suitesparse.mk | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lapack.mk b/src/lapack.mk index 51018bd..24fa70a 100644 --- a/src/lapack.mk +++ b/src/lapack.mk @@ -25,7 +25,7 @@ define $(PKG)_BUILD $(SED) -i 's, ar, $(TARGET)-ar,g' '$(1)/make.inc' $(SED) -i 's, ranlib, $(TARGET)-ranlib,g' '$(1)/make.inc' - $(MAKE) -C '$(1)' -j '$(JOBS)' lapacklib + $(MAKE) -C '$(1)/SRC' -j '$(JOBS)' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' $(INSTALL) -m664 '$(1)/lapack_MINGW32.a' '$(PREFIX)/$(TARGET)/lib/liblapack.a' endef diff --git a/src/suitesparse.mk b/src/suitesparse.mk index 5bd4084..430b1b7 100644 --- a/src/suitesparse.mk +++ b/src/suitesparse.mk @@ -33,9 +33,9 @@ define $(PKG)_BUILD # gfortran does not need libg2c $(SED) -i 's,-lg2c,,' '$(1)/UFconfig/UFconfig.mk' - # exclude the demos from building in order to avoid the _rand48 problems - $(SED) -i 's,( cd Demo ; $$(MAKE) ),#( cd Demo ; $$(MAKE) ),' '$(1)/CHOLMOD/Makefile' - $(SED) -i 's,( cd Demo ; $$(MAKE) ),#( cd Demo ; $$(MAKE) ),' '$(1)/SPQR/Makefile' + # exclude demos + find '$(1)' -name 'Makefile' \ + -exec $(SED) -i 's,( cd Demo,#( cd Demo,' {} \; # build all $(MAKE) -C '$(1)' -j '$(JOBS)' |