Browse Source

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

tags/v0.2.0^2
Xianyi Zhang 14 years ago
parent
commit
b8b922d334
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Makefile

+ 5
- 1
Makefile 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


Loading…
Cancel
Save