Fixed #106. Use fetch instead of curl on FreeBSD.
This commit is contained in:
parent
34fd3b85a8
commit
b8b922d334
6
Makefile
6
Makefile
|
@ -257,12 +257,16 @@ LAPACK_URL=http://www.netlib.org/lapack/lapack-3.4.1.tgz
|
||||||
lapack-3.4.1.tgz :
|
lapack-3.4.1.tgz :
|
||||||
ifndef NOFORTRAN
|
ifndef NOFORTRAN
|
||||||
#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
|
#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
|
||||||
ifeq ($(OSNAME), $(filter $(OSNAME),Darwin FreeBSD NetBSD))
|
ifeq ($(OSNAME), $(filter $(OSNAME),Darwin NetBSD))
|
||||||
curl -O $(LAPACK_URL)
|
curl -O $(LAPACK_URL)
|
||||||
|
else
|
||||||
|
ifeq ($(OSNAME), FreeBSD)
|
||||||
|
fetch $(LAPACK_URL)
|
||||||
else
|
else
|
||||||
wget $(LAPACK_URL)
|
wget $(LAPACK_URL)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
large.tgz :
|
large.tgz :
|
||||||
ifndef NOFORTRAN
|
ifndef NOFORTRAN
|
||||||
|
|
Loading…
Reference in New Issue