svn commit: r441631 - head/math/blis
Johannes M Dieterich
jmd at FreeBSD.org
Thu May 25 01:25:47 UTC 2017
Author: jmd
Date: Thu May 25 01:25:46 2017
New Revision: 441631
URL: https://svnweb.freebsd.org/changeset/ports/441631
Log:
math/blis: Change to also always compile a shared library version of the library. This is in line with other BLAS libraries in the tree.
While there, correct LOCALBASE to be PREFIX.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10865
Modified:
head/math/blis/Makefile
head/math/blis/pkg-plist
Modified: head/math/blis/Makefile
==============================================================================
--- head/math/blis/Makefile Thu May 25 01:20:19 2017 (r441630)
+++ head/math/blis/Makefile Thu May 25 01:25:46 2017 (r441631)
@@ -3,6 +3,7 @@
PORTNAME= blis
PORTVERSION= 0.2.2
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= jmd at FreeBSD.org
@@ -39,9 +40,11 @@ HAS_CONFIGURE= yes
.include <bsd.port.options.mk>
-# enable BLAS by default
+# enable BLAS and static/shared libs by default
CONFIGURE_ARGS+= --enable-blas \
- --prefix=${LOCALBASE}
+ --prefix=${PREFIX} \
+ --enable-shared \
+ --enable-static
#--prefix=PREFIX
.if ${PORT_OPTIONS:MPARA}
@@ -71,6 +74,8 @@ ARCH= haswell
CONFIGURE_ARGS+= ${ARCH}
post-install:
- ${MV} ${STAGEDIR}/${LOCALBASE}/lib/libblis-${PORTVERSION}-${ARCH}.a ${STAGEDIR}/${LOCALBASE}/lib/libblis.a
+ ${MV} ${STAGEDIR}/${PREFIX}/lib/libblis-${PORTVERSION}-${ARCH}.a ${STAGEDIR}/${PREFIX}/lib/libblis.a
+ ${MV} ${STAGEDIR}/${PREFIX}/lib/libblis-${PORTVERSION}-${ARCH}.so ${STAGEDIR}/${PREFIX}/lib/libblis.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libblis.so
.include <bsd.port.mk>
Modified: head/math/blis/pkg-plist
==============================================================================
--- head/math/blis/pkg-plist Thu May 25 01:20:19 2017 (r441630)
+++ head/math/blis/pkg-plist Thu May 25 01:25:46 2017 (r441631)
@@ -438,3 +438,4 @@ include/blis/f77_asum_sub.h
include/blis/f77_dot_sub.h
include/blis/f77_nrm2_sub.h
lib/libblis.a
+lib/libblis.so
More information about the svn-ports-head
mailing list