Date: Tue, 24 Mar 2015 17:29:48 +0000 (UTC) From: Bartek Rutkowski <robak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382127 - head/math/lapack Message-ID: <201503241729.t2OHTm00087737@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: robak Date: Tue Mar 24 17:29:47 2015 New Revision: 382127 URL: https://svnweb.freebsd.org/changeset/ports/382127 QAT: https://qat.redports.org/buildarchive/r382127/ Log: math/lapack: fix build when PROFILE option is selected - Since dynamic linking is broken when PROFILE is used, enforce '-static' LDFLAGS - Maintainer's timeout (maho@FreeBSD.org) PR: 185375 Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com> Modified: head/math/lapack/Makefile Modified: head/math/lapack/Makefile ============================================================================== --- head/math/lapack/Makefile Tue Mar 24 17:09:58 2015 (r382126) +++ head/math/lapack/Makefile Tue Mar 24 17:29:47 2015 (r382127) @@ -80,6 +80,10 @@ PICFLAG?= -fpic FFLAGS_PROFILE?= -pg FFLAGS_SHARED ?= ${PICFLAG} +.if ${PORT_OPTIONS:MPROFILE} +LDFLAGS+= -static +.endif + .if ${PORT_OPTIONS:MPROFILE} && !exists(/usr/lib/libc_p.a) IGNORE= you have chosen WITH_PROFILE, but have not installed the\ base system profiling libraries
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503241729.t2OHTm00087737>