Date: Thu, 25 May 2017 01:25:46 +0000 (UTC) From: Johannes M Dieterich <jmd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441631 - head/math/blis Message-ID: <201705250125.v4P1Pkv6029379@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705250125.v4P1Pkv6029379>