Fixed #106. Use fetch instead of curl on FreeBSD.

This commit is contained in:
Xianyi Zhang 2012-06-20 11:07:36 +08:00
parent 34fd3b85a8
commit b8b922d334
1 changed files with 5 additions and 1 deletions

View File

@ -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