diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-02 00:23:49 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-02 00:23:49 +0000 |
commit | fc38234e923144ddd81187c10365843d248f9497 (patch) | |
tree | 1a25f8f6c5a3cdb8eedc545afafe16f4f48795a4 /math/fftpack | |
parent | afc80f1b2d11aa4eed9e764da1f3122077d25dcb (diff) | |
download | pkgsrc-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/fftpack')
-rw-r--r-- | math/fftpack/Makefile | 5 | ||||
-rw-r--r-- | math/fftpack/files/Makefile | 23 | ||||
-rw-r--r-- | math/fftpack/pkg/PLIST | 6 |
3 files changed, 10 insertions, 24 deletions
diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile index f094cb05ae6..db1a00a55d4 100644 --- a/math/fftpack/Makefile +++ b/math/fftpack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/01/22 23:30:01 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/02/02 00:23:51 jtb Exp $ DISTNAME= fftpack-20001130 CATEGORIES= math @@ -8,8 +8,7 @@ MAINTAINER= jtb@netbsd.org NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL WRKSRC= ${WRKDIR}/fftpack -USE_LIBTOOL= YES -UES_FORTRAN= YES +USE_FORTRAN= YES post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC} diff --git a/math/fftpack/files/Makefile b/math/fftpack/files/Makefile index c99278b9442..fd444e41daa 100644 --- a/math/fftpack/files/Makefile +++ b/math/fftpack/files/Makefile @@ -2,13 +2,7 @@ LIB = fftpack LIBDIR = ${PREFIX}/lib -.if $(FC)=="f77" || $(FC)=="g77" -FOPTS=-funroll-loops -O2 -.else -FOPTS=-O2 -.endif - -all: lib$(LIB).la +all: lib$(LIB).a OBJS = cfftb.o cosqf1.o passb2.o radb2.o radfg.o \ sinqi.o cfftb1.o cosqi.o passb3.o radb3.o rfftb.o \ @@ -20,15 +14,12 @@ OBJS = cfftb.o cosqf1.o passb2.o radb2.o radfg.o \ ezffti.o passf4.o radf4.o sinqb.o cosqf.o passb.o \ passf5.o radf5.o sinqf.o -lib$(LIB).la: $(OBJS) - $(LIBTOOL) --mode=link $(FC) $(FFLAGS) $(FOPTS) \ - -o $@ $(OBJS:.o=.lo) -rpath $(LIBDIR) --version-info 0:0 - -.f.o: - $(LIBTOOL) --mode=compile $(FC) $(FFLAGS) $(FOPTS) -c $< +lib$(LIB).a: $(OBJS) + $(AR) cru $@ $? + $(RANLIB) $@ -install: lib$(LIB).la - $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $? $(LIBDIR) +install: lib$(LIB).a + $(BSD_INSTALL_DATA) $? $(LIBDIR) clean: - rm -rf *.o *.lo .libs lib$(LIB).la + rm -f *.o lib$(LIB).a diff --git a/math/fftpack/pkg/PLIST b/math/fftpack/pkg/PLIST index 925a835c14e..466298f6a70 100644 --- a/math/fftpack/pkg/PLIST +++ b/math/fftpack/pkg/PLIST @@ -1,8 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2001/01/04 15:10:48 agc Exp $ +@comment $NetBSD: PLIST,v 1.3 2001/02/02 00:23:51 jtb Exp $ lib/libfftpack.a -lib/libfftpack.la -lib/libfftpack.so -lib/libfftpack.so.0 -lib/libfftpack.so.0.0 share/doc/fftpack/doc @dirrm share/doc/fftpack |