From fc38234e923144ddd81187c10365843d248f9497 Mon Sep 17 00:00:00 2001 From: jtb Date: Fri, 2 Feb 2001 00:23:49 +0000 Subject: 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. --- math/dfftpack/Makefile | 3 +-- math/dfftpack/files/Makefile | 17 +++++++---------- math/dfftpack/pkg/PLIST | 6 +----- 3 files changed, 9 insertions(+), 17 deletions(-) (limited to 'math/dfftpack') 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 -- cgit v1.2.3