summaryrefslogtreecommitdiff
path: root/math/slatec
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-12-06 23:02:52 +0000
committerjtb <jtb@pkgsrc.org>2000-12-06 23:02:52 +0000
commit1729aeb98309c976ec2be24a4c39697dfba3dfe9 (patch)
tree57397bdc5d62b4b270a62d5b91b6d7dc9c4ffdb5 /math/slatec
parenta9a63f0bfe44a9be50bdd9c23706b50948f9dbab (diff)
downloadpkgsrc-1729aeb98309c976ec2be24a4c39697dfba3dfe9.tar.gz
Added --version-info 0:0 libtool option to Makefile.
Diffstat (limited to 'math/slatec')
-rw-r--r--math/slatec/Makefile5
-rw-r--r--math/slatec/files/Makefile3
2 files changed, 3 insertions, 5 deletions
diff --git a/math/slatec/Makefile b/math/slatec/Makefile
index 25b74e152a1..17dbb8ae232 100644
--- a/math/slatec/Makefile
+++ b/math/slatec/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/11/28 00:26:53 jtb Exp $
+# $NetBSD: Makefile,v 1.2 2000/12/06 23:02:52 jtb Exp $
DISTNAME= slatec_src
PKGNAME= slatec-4.1
@@ -17,9 +17,6 @@ WRKSRC= ${WRKDIR}/src
USE_LIBTOOL= YES
UES_FORTRAN= YES
-FOPTS?= -O2
-MAKE_ENV+= "FFLAGS=${FOPTS}"
-
pre-build:
@${SED} -e 's:%%FORTRAN%%:'${FC}':g' \
< ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
diff --git a/math/slatec/files/Makefile b/math/slatec/files/Makefile
index 71b5f864d70..ce762f95dcc 100644
--- a/math/slatec/files/Makefile
+++ b/math/slatec/files/Makefile
@@ -3,6 +3,7 @@ LIB = slatec
LIBDIR = ${PREFIX}/lib
FORTRAN = %%FORTRAN%%
+FFLAGS = -O3
all: lib$(LIB)
@@ -186,7 +187,7 @@ zunik.o zunk1.o zunk2.o zuoik.o zwrsk.o
lib$(LIB): $(OBJ)
@$(LIBTOOL) --mode=link $(FORTRAN) -O -o lib$(LIB).la $(OBJ:.o=.lo) \
- -rpath $(LIBDIR)
+ --version-info 0:0 -rpath $(LIBDIR)
.f.o:
@$(LIBTOOL) --mode=compile $(FORTRAN) $(FFLAGS) -c $*.f