summaryrefslogtreecommitdiff
path: root/math/minpack/files
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-02 00:23:49 +0000
committerjtb <jtb@pkgsrc.org>2001-02-02 00:23:49 +0000
commitfc38234e923144ddd81187c10365843d248f9497 (patch)
tree1a25f8f6c5a3cdb8eedc545afafe16f4f48795a4 /math/minpack/files
parentafc80f1b2d11aa4eed9e764da1f3122077d25dcb (diff)
downloadpkgsrc-fc38234e923144ddd81187c10365843d248f9497.tar.gz
Don't build shared Fortran libraries. They're too problematic.
Strictly numerical libraries, like fftpack, work fine, but some which make use of Fortran I/O have problems resolving symbols. This is a known problem with g77/f2c.
Diffstat (limited to 'math/minpack/files')
-rw-r--r--math/minpack/files/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/math/minpack/files/Makefile b/math/minpack/files/Makefile
index 525701fa4f0..671fd46e00b 100644
--- a/math/minpack/files/Makefile
+++ b/math/minpack/files/Makefile
@@ -1,8 +1,6 @@
LIB = minpack
LIBDIR = ${PREFIX}/lib
-F77 = %%F77%%
-FFLAGS = -O3
all: lib$(LIB).a
@@ -14,14 +12,11 @@ OBJ = covar.o dmchar.o dogleg.o dpmpar.o enorm.o errjac.o fdjac1.o \
vecjac.o
lib$(LIB).a: $(OBJ)
- $(AR) ru $@ $?
+ $(AR) cru $@ $?
$(RANLIB) $@
-.f.o:
- $(F77) $(FFLAGS) -c $<
-
install: lib$(LIB).a
- install -c lib$(LIB).a $(LIBDIR)
+ $(BSD_INSTALL_DATA) $? $(LIBDIR)
clean:
- rm -rf *.o lib$(LIB).a
+ rm -f *.o lib$(LIB).a