diff options
author | jtb <jtb> | 2001-02-02 00:23:49 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-02-02 00:23:49 +0000 |
commit | eb056db8245ae973768f8865909445f989969fd7 (patch) | |
tree | 1a25f8f6c5a3cdb8eedc545afafe16f4f48795a4 /math/dfftpack | |
parent | cca52f6b0b898fb92b85b02cb8dbe85669327d7c (diff) | |
download | pkgsrc-eb056db8245ae973768f8865909445f989969fd7.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/dfftpack')
-rw-r--r-- | math/dfftpack/Makefile | 3 | ||||
-rw-r--r-- | math/dfftpack/files/Makefile | 17 | ||||
-rw-r--r-- | math/dfftpack/pkg/PLIST | 6 |
3 files changed, 9 insertions, 17 deletions
diff --git a/math/dfftpack/Makefile b/math/dfftpack/Makefile index f09e5f10ae1..7001acc5e2e 100644 --- a/math/dfftpack/Makefile +++ b/math/dfftpack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/01/26 22:19:35 jtb Exp $ +# $NetBSD: Makefile,v 1.3 2001/02/02 00:23:50 jtb Exp $ DISTNAME= dfftpack-20001209 CATEGORIES= math @@ -9,7 +9,6 @@ MAINTAINER= jtb@netbsd.org NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL WRKSRC= ${WRKDIR}/dfftpack USE_FORTRAN= YES -USE_LIBTOOL= YES post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC} diff --git a/math/dfftpack/files/Makefile b/math/dfftpack/files/Makefile index c215fee96e2..849b4f5a253 100644 --- a/math/dfftpack/files/Makefile +++ b/math/dfftpack/files/Makefile @@ -2,7 +2,7 @@ LIB = dfftpack LIBDIR = ${PREFIX}/lib -all: lib$(LIB).la +all: lib$(LIB).a OBJS = zfftb.o cfftb1.o zfftf.o cfftf1.o zffti.o cffti1.o dcosqb.o \ cosqb1.o dcosqf.o cosqf1.o dcosqi.o dcost.o dcosti.o ezfft1.o \ @@ -12,15 +12,12 @@ OBJS = zfftb.o cfftb1.o zfftf.o cfftf1.o zffti.o cffti1.o dcosqb.o \ radf5.o radfg.o dfftb.o rfftb1.o dfftf.o rfftf1.o dffti.o \ rffti1.o dsinqb.o dsinqf.o dsinqi.o dsint.o sint1.o dsinti.o -lib$(LIB).la: $(OBJS) - $(LIBTOOL) --mode=link $(FC) $(FFLAGS) -o $@ $(OBJS:.o=.lo) \ - -rpath $(LIBDIR) --version-info 0:0 +lib$(LIB).a: $(OBJS) + $(AR) cru $@ $? + $(RANLIB) $@ -.f.o: - $(LIBTOOL) --mode=compile $(FC) $(FFLAGS) -c $*.f - -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/dfftpack/pkg/PLIST b/math/dfftpack/pkg/PLIST index 50460cb89d0..3f276c67c40 100644 --- a/math/dfftpack/pkg/PLIST +++ b/math/dfftpack/pkg/PLIST @@ -1,9 +1,5 @@ -@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:50 jtb Exp $ lib/libdfftpack.a -lib/libdfftpack.la -lib/libdfftpack.so -lib/libdfftpack.so.0 -lib/libdfftpack.so.0.0 share/doc/dfftpack/README share/doc/dfftpack/doc share/doc/dfftpack/doc.double |