aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-08 22:04:50 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-08 22:04:50 +0800
commit3ec45c02034ad026caea8b953daa6b60e371e5bb (patch)
tree9e0a5f2bf0bf9056a0f900431decc1e0f872c25a /math
parent12868bac632f07a696a655bc984cf3792b39f358 (diff)
downloadfreebsd-ports-gnome-3ec45c02034ad026caea8b953daa6b60e371e5bb.tar.gz
freebsd-ports-gnome-3ec45c02034ad026caea8b953daa6b60e371e5bb.tar.zst
freebsd-ports-gnome-3ec45c02034ad026caea8b953daa6b60e371e5bb.zip
- Don't install static libraries with INSTALL_LIB (part 1/2)
Approved by: portmgr blanket MFH: 2015Q2
Diffstat (limited to 'math')
-rw-r--r--math/R/Makefile4
-rw-r--r--math/cblas/Makefile8
-rw-r--r--math/foma/Makefile3
-rw-r--r--math/kktdirect/Makefile7
4 files changed, 12 insertions, 10 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index 7ba21e49beb6..aeb144548fb1 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= R
PORTVERSION= 3.0.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math lang
MASTER_SITES= http://cran.r-project.org/%SUBDIR%/ \
ftp://cran.r-project.org/pub/R/%SUBDIR%/ \
@@ -350,7 +350,7 @@ do-build:
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/R/lib
- @${INSTALL_LIB} ${WRKSRC}/src/main/libR.a ${STAGEDIR}${PREFIX}/lib/R/lib
+ @${INSTALL_DATA} ${WRKSRC}/src/main/libR.a ${STAGEDIR}${PREFIX}/lib/R/lib
.else # LIBR_SLAVEPORT
diff --git a/math/cblas/Makefile b/math/cblas/Makefile
index 19401186a008..30fdc9b65aa7 100644
--- a/math/cblas/Makefile
+++ b/math/cblas/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cblas
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= NL/blas/blast-forum/ LOCAL/bf
DISTFILES= cblas.tgz
@@ -123,15 +123,15 @@ test-${o:tl}: build-${o:tl}
do-install:
@${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
.if ${PORT_OPTIONS:MSTATIC}
- @${INSTALL_LIB} ${WRKSRC}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib
.endif
.if ${PORT_OPTIONS:MSHARED}
- @${INSTALL_LIB} ${WRKSRC_SHARED}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_pic.a
+ @${INSTALL_DATA} ${WRKSRC_SHARED}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_pic.a
@${INSTALL_LIB} ${WRKSRC_SHARED}/lib/libcblas.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib
@${LN} -sf libcblas.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib/libcblas.so
.endif
.if ${PORT_OPTIONS:MPROFILE}
- @${INSTALL_LIB} ${WRKSRC_PROFILE}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_p.a
+ @${INSTALL_DATA} ${WRKSRC_PROFILE}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_p.a
.endif
.include <bsd.port.mk>
diff --git a/math/foma/Makefile b/math/foma/Makefile
index 4da3c91753fd..2b2f484f6c7d 100644
--- a/math/foma/Makefile
+++ b/math/foma/Makefile
@@ -3,6 +3,7 @@
PORTNAME= foma
PORTVERSION= 0.9.17
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -17,7 +18,7 @@ USE_LDCONFIG= yes
do-install:
(cd ${WRKSRC} && ${INSTALL_DATA} fomalib.h fomalibconf.h ${STAGEDIR}${PREFIX}/include/)
(cd ${WRKSRC} && ${INSTALL_PROGRAM} foma flookup cgflookup ${STAGEDIR}${PREFIX}/bin/)
- ${INSTALL_LIB} ${WRKSRC}/libfoma.a ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/libfoma.a ${STAGEDIR}${PREFIX}/lib/
${INSTALL_LIB} ${WRKSRC}/libfoma.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libfoma.so.0
(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libfoma.so.0 libfoma.so)
diff --git a/math/kktdirect/Makefile b/math/kktdirect/Makefile
index 898e315a6a61..963a15e8ac72 100644
--- a/math/kktdirect/Makefile
+++ b/math/kktdirect/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kktdirect
PORTVERSION= 0.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= http://www.cs.ubc.ca/~rbridson/download/ LOCAL/bf
DISTNAME= KKTDirect${PORTVERSION}
@@ -82,8 +82,9 @@ check regression-test test: build
do-install:
@${INSTALL_DATA} ${WRKSRC}/kktdirect.h ${STAGEDIR}${PREFIX}/include
- @cd ${WRKDIR}; ${INSTALL_LIB} libkktdirect.a libkktdirect_pic.a \
- libkktdirect.so.0 ${STAGEDIR}${PREFIX}/lib
+ @cd ${WRKDIR} && ${INSTALL_DATA} libkktdirect.a libkktdirect_pic.a \
+ ${STAGEDIR}${PREFIX}/lib
+ @cd ${WRKDIR} && ${INSTALL_LIB} libkktdirect.so.0 ${STAGEDIR}${PREFIX}/lib
@cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libkktdirect.so.0 libkktdirect.so
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}