From owner-svn-ports-head@freebsd.org Thu May 25 01:25:47 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1756D7C1E6; Thu, 25 May 2017 01:25:47 +0000 (UTC) (envelope-from jmd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A35D15E9; Thu, 25 May 2017 01:25:47 +0000 (UTC) (envelope-from jmd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4P1PkZx029381; Thu, 25 May 2017 01:25:46 GMT (envelope-from jmd@FreeBSD.org) Received: (from jmd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4P1Pkv6029379; Thu, 25 May 2017 01:25:46 GMT (envelope-from jmd@FreeBSD.org) Message-Id: <201705250125.v4P1Pkv6029379@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jmd set sender to jmd@FreeBSD.org using -f From: Johannes M Dieterich Date: Thu, 25 May 2017 01:25:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441631 - head/math/blis X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2017 01:25:47 -0000 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 -# 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 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