summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb>2000-12-06 23:02:52 +0000
committerjtb <jtb>2000-12-06 23:02:52 +0000
commit2c9bda69a6a0d5849191f4e337c2f5c1ec1c48ab (patch)
tree57397bdc5d62b4b270a62d5b91b6d7dc9c4ffdb5 /math
parent478e34ca8ca5b7bebabe5eb6f93c950609078faf (diff)
downloadpkgsrc-2c9bda69a6a0d5849191f4e337c2f5c1ec1c48ab.tar.gz
Added --version-info 0:0 libtool option to Makefile.
Diffstat (limited to 'math')
-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