diff --git a/Makefile b/Makefile index 8d78a844b1..905d686a2b 100644 --- a/Makefile +++ b/Makefile @@ -256,7 +256,8 @@ LAPACK_URL=http://www.netlib.org/lapack/lapack-3.4.1.tgz lapack-3.4.1.tgz : ifndef NOFORTRAN -ifeq ($(OSNAME), Darwin) +#http://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or +ifeq ($(OSNAME), $(filter $(OSNAME),Darwin FreeBSD NetBSD)) curl -O $(LAPACK_URL) else wget $(LAPACK_URL) diff --git a/Makefile.system b/Makefile.system index ef2e8fcdd8..c9e74faa64 100644 --- a/Makefile.system +++ b/Makefile.system @@ -108,6 +108,14 @@ export MACOSX_DEPLOYMENT_TARGET=10.2 MD5SUM = md5 -r endif +ifeq ($(OSNAME), FreeBSD) +MD5SUM = md5 -r +endif + +ifeq ($(OSNAME), NetBSD) +MD5SUM = md5 -r +endif + ifeq ($(OSNAME), Linux) EXTRALIB += -lm endif