1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

* Shared lib number has been bumped 1 to 2

* Bump port revision
This commit is contained in:
Maho Nakata 2007-01-09 22:39:17 +00:00
parent 591ad446d3
commit 2a8418244e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181919
4 changed files with 48 additions and 48 deletions

View File

@ -10,7 +10,7 @@
PORTNAME= atlas
PORTVERSION= 3.7.24
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= math-atlas
@ -42,8 +42,8 @@ CCOMPILER= gcc34
CCOMPILER:= cc
.endif
.if defined(WITH_TESTS)
LIB_DEPENDS+= blas.1:${PORTSDIR}/math/blas
LIB_DEPENDS+= lapack.3:${PORTSDIR}/math/lapack
LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
.endif
.if ${ARCH} == "sparc64"
@ -167,39 +167,39 @@ post-build:
# make atlas shared library
.for i in ${ATLAS_LIBS1}
( cd ${WRKSRC}/NON_THREADED_PIC/lib ; \
ld -Bshareable -o ${i}.so.1 -x -soname ${i}.so.1 ${i}.a )
ld -Bshareable -o ${i}.so.2 -x -soname ${i}.so.2 ${i}.a )
.endfor
# make atlas shared (thread safe) library
.for i in ${ATLAS_LIBS1}
( cd ${WRKSRC}/THREADED_PIC/lib ; \
ld -Bshareable -o ${i}_r.so.1 -x -soname ${i}_r.so.1 ${i}.a )
ld -Bshareable -o ${i}_r.so.2 -x -soname ${i}_r.so.2 ${i}.a )
.endfor
.for i in ${ATLAS_LIBS2}
( cd ${WRKSRC}/THREADED_PIC/lib ; \
ld -Bshareable -o ${i}.so.1 -x -soname ${i}.so.1 ${i}.a )
ld -Bshareable -o ${i}.so.2 -x -soname ${i}.so.2 ${i}.a )
.endfor
do-install:
.for i in ${ATLAS_LIBS1}
.if defined(WITH_STATICLIB)
@${INSTALL_DATA} ${WRKSRC}/NON_THREADED/lib/${i}.a ${PREFIX}/lib
.endif
@${INSTALL_DATA} ${WRKSRC}/NON_THREADED_PIC/lib/${i}.so.1 ${PREFIX}/lib
@${LN} -sf ${i}.so.1 ${PREFIX}/lib/${i}.so
@${INSTALL_DATA} ${WRKSRC}/NON_THREADED_PIC/lib/${i}.so.2 ${PREFIX}/lib
@${LN} -sf ${i}.so.2 ${PREFIX}/lib/${i}.so
.endfor
.for i in ${ATLAS_LIBS1}
.if defined(WITH_STATICLIB)
@${INSTALL_DATA} ${WRKSRC}/THREADED/lib/${i}.a ${PREFIX}/lib/${i}_r.a
.endif
@${INSTALL_DATA} ${WRKSRC}/THREADED_PIC/lib/${i}_r.so.1 ${PREFIX}/lib/${i}_r.so.1
@${LN} -sf ${i}_r.so.1 ${PREFIX}/lib/${i}_r.so
@${INSTALL_DATA} ${WRKSRC}/THREADED_PIC/lib/${i}_r.so.2 ${PREFIX}/lib/${i}_r.so.2
@${LN} -sf ${i}_r.so.2 ${PREFIX}/lib/${i}_r.so
.endfor
.for i in ${ATLAS_LIBS2}
.if defined(WITH_STATICLIB)
@${INSTALL_DATA} ${WRKSRC}/THREADED/lib/${i}.a ${PREFIX}/lib
.endif
@${INSTALL_DATA} ${WRKSRC}/THREADED_PIC/lib/${i}.so.1 ${PREFIX}/lib
@${LN} -sf ${i}.so.1 ${PREFIX}/lib/${i}.so
@${INSTALL_DATA} ${WRKSRC}/THREADED_PIC/lib/${i}.so.2 ${PREFIX}/lib
@${LN} -sf ${i}.so.2 ${PREFIX}/lib/${i}.so
.endfor
@${INSTALL_DATA} ${WRKSRC}/include/cblas.h ${PREFIX}/include

View File

@ -3,40 +3,40 @@ include/clapack.h
include/blas.h
include/lapack.h
%%WITH_STATICLIB%%lib/libalapack.a
lib/libalapack.so.1
lib/libalapack.so.2
lib/libalapack.so
%%WITH_STATICLIB%%lib/libalapack_r.a
lib/libalapack_r.so.1
lib/libalapack_r.so.2
lib/libalapack_r.so
%%WITH_STATICLIB%%lib/libatlas.a
lib/libatlas.so.1
lib/libatlas.so.2
lib/libatlas.so
%%WITH_STATICLIB%%lib/libatlas_r.a
lib/libatlas_r.so.1
lib/libatlas_r.so.2
lib/libatlas_r.so
%%WITH_STATICLIB%%lib/libcblas.a
lib/libcblas.so.1
lib/libcblas.so.2
lib/libcblas.so
%%WITH_STATICLIB%%lib/libcblas_r.a
lib/libcblas_r.so.1
lib/libcblas_r.so.2
lib/libcblas_r.so
%%WITH_STATICLIB%%lib/libf77blas.a
lib/libf77blas.so.1
lib/libf77blas.so.2
lib/libf77blas.so
%%WITH_STATICLIB%%lib/libf77blas_r.a
lib/libf77blas_r.so.1
lib/libf77blas_r.so.2
lib/libf77blas_r.so
%%WITH_STATICLIB%%lib/libptcblas.a
lib/libptcblas.so.1
lib/libptcblas.so.2
lib/libptcblas.so
%%WITH_STATICLIB%%lib/libptf77blas.a
lib/libptf77blas.so.1
lib/libptf77blas.so.2
lib/libptf77blas.so
%%WITH_STATICLIB%%lib/libtstatlas.a
lib/libtstatlas.so.1
lib/libtstatlas.so.2
lib/libtstatlas.so
%%WITH_STATICLIB%%lib/libtstatlas_r.a
lib/libtstatlas_r.so.1
lib/libtstatlas_r.so.2
lib/libtstatlas_r.so
%%PORTDOCS%%share/doc/atlas/AtlasCredits.txt
%%PORTDOCS%%share/doc/atlas/ChangeLog

View File

@ -10,7 +10,7 @@
PORTNAME= atlas
PORTVERSION= 3.6.0
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -43,8 +43,8 @@ CCOMPILER= gcc34
CCOMPILER:= cc
.endif
.if defined(WITH_TESTS)
LIB_DEPENDS+= blas.1:${PORTSDIR}/math/blas
LIB_DEPENDS+= lapack.3:${PORTSDIR}/math/lapack
LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
.endif
# only affects for lapack sub project
@ -219,17 +219,17 @@ post-build:
# make atlas shared library
.for i in ${ATLAS_LIBS1}
( cd ${WRKSRC}/lib/NON_THREADED_PIC/ ; \
ld -Bshareable -o ${i}.so.1 -x -soname ${i}.so.1 --whole-archive ${i}.a )
ld -Bshareable -o ${i}.so.2 -x -soname ${i}.so.2 --whole-archive ${i}.a )
.endfor
# make atlas shared (thread safe) library
.for i in ${ATLAS_LIBS1}
( cd ${WRKSRC}/lib/THREADED_PIC/ ; \
ld -Bshareable -o ${i}_r.so.1 -x -soname ${i}_r.so.1 --whole-archive ${i}.a )
ld -Bshareable -o ${i}_r.so.2 -x -soname ${i}_r.so.2 --whole-archive ${i}.a )
.endfor
.for i in ${ATLAS_LIBS2}
( cd ${WRKSRC}/lib/THREADED_PIC/ ; \
ld -Bshareable -o ${i}.so.1 -x -soname ${i}.so.1 --whole-archive ${i}.a )
ld -Bshareable -o ${i}.so.2 -x -soname ${i}.so.2 --whole-archive ${i}.a )
.endfor
do-install:
@ -237,22 +237,22 @@ do-install:
.if defined(WITH_STATICLIB)
@${INSTALL_DATA} ${WRKSRC}/lib/NON_THREADED/${i}.a ${PREFIX}/lib
.endif
@${INSTALL_DATA} ${WRKSRC}/lib/NON_THREADED_PIC/${i}.so.1 ${PREFIX}/lib
@${LN} -sf ${i}.so.1 ${PREFIX}/lib/${i}.so
@${INSTALL_DATA} ${WRKSRC}/lib/NON_THREADED_PIC/${i}.so.2 ${PREFIX}/lib
@${LN} -sf ${i}.so.2 ${PREFIX}/lib/${i}.so
.endfor
.for i in ${ATLAS_LIBS1}
.if defined(WITH_STATICLIB)
@${INSTALL_DATA} ${WRKSRC}/lib/THREADED/${i}.a ${PREFIX}/lib/${i}_r.a
.endif
@${INSTALL_DATA} ${WRKSRC}/lib/THREADED_PIC/${i}_r.so.1 ${PREFIX}/lib/${i}_r.so.1
@${LN} -sf ${i}_r.so.1 ${PREFIX}/lib/${i}_r.so
@${INSTALL_DATA} ${WRKSRC}/lib/THREADED_PIC/${i}_r.so.2 ${PREFIX}/lib/${i}_r.so.2
@${LN} -sf ${i}_r.so.2 ${PREFIX}/lib/${i}_r.so
.endfor
.for i in ${ATLAS_LIBS2}
.if defined(WITH_STATICLIB)
@${INSTALL_DATA} ${WRKSRC}/lib/THREADED/${i}.a ${PREFIX}/lib
.endif
@${INSTALL_DATA} ${WRKSRC}/lib/THREADED_PIC/${i}.so.1 ${PREFIX}/lib
@${LN} -sf ${i}.so.1 ${PREFIX}/lib/${i}.so
@${INSTALL_DATA} ${WRKSRC}/lib/THREADED_PIC/${i}.so.2 ${PREFIX}/lib
@${LN} -sf ${i}.so.2 ${PREFIX}/lib/${i}.so
.endfor
@${INSTALL_DATA} ${WRKSRC}/include/cblas.h ${PREFIX}/include
@${INSTALL_DATA} ${WRKSRC}/include/clapack.h ${PREFIX}/include

View File

@ -3,40 +3,40 @@ include/clapack.h
include/blas.h
include/lapack.h
%%WITH_STATICLIB%%lib/libalapack.a
lib/libalapack.so.1
lib/libalapack.so.2
lib/libalapack.so
%%WITH_STATICLIB%%lib/libalapack_r.a
lib/libalapack_r.so.1
lib/libalapack_r.so.2
lib/libalapack_r.so
%%WITH_STATICLIB%%lib/libatlas.a
lib/libatlas.so.1
lib/libatlas.so.2
lib/libatlas.so
%%WITH_STATICLIB%%lib/libatlas_r.a
lib/libatlas_r.so.1
lib/libatlas_r.so.2
lib/libatlas_r.so
%%WITH_STATICLIB%%lib/libcblas.a
lib/libcblas.so.1
lib/libcblas.so.2
lib/libcblas.so
%%WITH_STATICLIB%%lib/libcblas_r.a
lib/libcblas_r.so.1
lib/libcblas_r.so.2
lib/libcblas_r.so
%%WITH_STATICLIB%%lib/libf77blas.a
lib/libf77blas.so.1
lib/libf77blas.so.2
lib/libf77blas.so
%%WITH_STATICLIB%%lib/libf77blas_r.a
lib/libf77blas_r.so.1
lib/libf77blas_r.so.2
lib/libf77blas_r.so
%%WITH_STATICLIB%%lib/libptcblas.a
lib/libptcblas.so.1
lib/libptcblas.so.2
lib/libptcblas.so
%%WITH_STATICLIB%%lib/libptf77blas.a
lib/libptf77blas.so.1
lib/libptf77blas.so.2
lib/libptf77blas.so
%%WITH_STATICLIB%%lib/libtstatlas.a
lib/libtstatlas.so.1
lib/libtstatlas.so.2
lib/libtstatlas.so
%%WITH_STATICLIB%%lib/libtstatlas_r.a
lib/libtstatlas_r.so.1
lib/libtstatlas_r.so.2
lib/libtstatlas_r.so
%%PORTDOCS%%share/doc/atlas/AtlasCredits.txt
%%PORTDOCS%%share/doc/atlas/ChangeLog