summaryrefslogtreecommitdiff
path: root/math/minpack
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
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')
-rw-r--r--math/minpack/Makefile11
-rw-r--r--math/minpack/files/Makefile11
-rw-r--r--math/minpack/pkg/PLIST28
3 files changed, 7 insertions, 43 deletions
diff --git a/math/minpack/Makefile b/math/minpack/Makefile
index 798897d7316..018d62ee653 100644
--- a/math/minpack/Makefile
+++ b/math/minpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/12/10 05:11:31 jtb Exp $
+# $NetBSD: Makefile,v 1.2 2001/02/02 00:23:52 jtb Exp $
DISTNAME= minpack-20001130
CATEGORIES= math
@@ -6,16 +6,11 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= jtb@netbsd.org
+NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
WRKSRC= ${WRKDIR}/minpack
USE_FORTRAN= YES
pre-build:
- @${SED} -e 's:%%F77%%:'${FC}':g' \
- < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/minpack
- ${INSTALL_DATA} ${WRKSRC}/ex/file* ${WRKSRC}/ex/index* \
- ${PREFIX}/share/examples/minpack
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}
.include "../../mk/bsd.pkg.mk" \ No newline at end of file
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
diff --git a/math/minpack/pkg/PLIST b/math/minpack/pkg/PLIST
index 846e34db468..3a5c8f90d05 100644
--- a/math/minpack/pkg/PLIST
+++ b/math/minpack/pkg/PLIST
@@ -1,28 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/10 05:11:31 jtb Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/02/02 00:23:52 jtb Exp $
lib/libminpack.a
-share/examples/minpack/file01
-share/examples/minpack/file02
-share/examples/minpack/file03
-share/examples/minpack/file04
-share/examples/minpack/file05
-share/examples/minpack/file06
-share/examples/minpack/file07
-share/examples/minpack/file08
-share/examples/minpack/file09
-share/examples/minpack/file10
-share/examples/minpack/file11
-share/examples/minpack/file12
-share/examples/minpack/file13
-share/examples/minpack/file14
-share/examples/minpack/file15
-share/examples/minpack/file16
-share/examples/minpack/file17
-share/examples/minpack/file18
-share/examples/minpack/file19
-share/examples/minpack/file20
-share/examples/minpack/file21
-share/examples/minpack/file22
-share/examples/minpack/file23
-share/examples/minpack/index
-share/examples/minpack/index.html
-@dirrm share/examples/minpack