aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-03-23 21:09:28 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-03-23 21:09:28 +0000
commit3ecdcf9f7340198bf374ec6b5951e94dfeed9f9a (patch)
tree8fadc1d0e02ffcafc5765946d935da0996d23526 /math
parent31e683143f6c4c25c64990b37068e95cb6df5a51 (diff)
downloadports-3ecdcf9f7340198bf374ec6b5951e94dfeed9f9a.tar.gz
ports-3ecdcf9f7340198bf374ec6b5951e94dfeed9f9a.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/linpack/Makefile12
-rw-r--r--math/linpack/files/Makefile.lib1
-rw-r--r--math/linpack/pkg-plist4
3 files changed, 5 insertions, 12 deletions
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index 7868a614c55c..ef32ea4d92a6 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -12,6 +12,7 @@ CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/linpack/ \
ftp://netlib.bell-labs.com/netlib/linpack/ \
ftp://www.hensa.ac.uk/mirrors/netlib/linpack/
+DISTFILES= ${SRCS:.f=.f.gz}
MAINTAINER= ports@FreeBSD.org
@@ -44,10 +45,6 @@ SRCS = cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \
zsico.f zsidi.f zsifa.f zsisl.f zspco.f zspdi.f zspfa.f zspsl.f \
zsvdc.f ztrco.f ztrdi.f ztrsl.f
-DISTFILES= ${SRCS:.f=.f.gz}
-
-.include <bsd.port.pre.mk>
-
do-extract:
@${MKDIR} ${WRKDIR}
.for file in ${SRCS}
@@ -58,9 +55,6 @@ pre-build:
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-.if ${PORTOBJFORMAT} == "aout"
- ${LN} -sf liblinpack.so.1.0 ${PREFIX}/lib/liblinpack.so
-.endif
+ ${LDCONFIG} -m ${PREFIX}/lib
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/linpack/files/Makefile.lib b/math/linpack/files/Makefile.lib
index 5dca47bf2123..2f404845d043 100644
--- a/math/linpack/files/Makefile.lib
+++ b/math/linpack/files/Makefile.lib
@@ -5,7 +5,6 @@ LIBDIR= ${PREFIX}/lib
NOPROFILE= no
SHLIB_MAJOR= 1
-SHLIB_MINOR= 0
LIB=linpack
SRCS = cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \
cgeco.f cgedi.f cgefa.f cgesl.f cgtsl.f chico.f chidi.f chifa.f \
diff --git a/math/linpack/pkg-plist b/math/linpack/pkg-plist
index 05285dc6f145..0b1f096b2bfc 100644
--- a/math/linpack/pkg-plist
+++ b/math/linpack/pkg-plist
@@ -1,5 +1,5 @@
lib/liblinpack.a
lib/liblinpack.so
lib/liblinpack.so.1
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /sbin/ldconfig -m %B
+@unexec /sbin/ldconfig -R