svn commit: r382127 - head/math/lapack

Bartek Rutkowski robak at FreeBSD.org
Tue Mar 24 17:29:48 UTC 2015


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 at FreeBSD.org)
  
  PR:		185375
  Submitted by:	Pawel Biernacki <pawel.biernacki at 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


More information about the svn-ports-head mailing list