Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2015 13:40:20 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379512 - in head/math/openblas: . files
Message-ID:  <201502211340.t1LDeKhn057393@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Feb 21 13:40:19 2015
New Revision: 379512
URL: https://svnweb.freebsd.org/changeset/ports/379512
QAT: https://qat.redports.org/buildarchive/r379512/

Log:
  Add support for clang
  
  PR:		197385
  Submitted by:	phd_kimberlite@yahoo.co.jp (maintainer)

Modified:
  head/math/openblas/Makefile
  head/math/openblas/files/patch-Makefile.system

Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile	Sat Feb 21 13:18:58 2015	(r379511)
+++ head/math/openblas/Makefile	Sat Feb 21 13:40:19 2015	(r379512)
@@ -3,6 +3,7 @@
 
 PORTNAME=	openblas
 PORTVERSION=	0.2.13
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://codeload.github.com/${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/:${PORTNAME} \
 		NL:lapack_tmg
@@ -24,7 +25,6 @@ LARGE_FILE=	large.tgz
 TIMING_FILE=	timing.tgz
 
 USES=		fortran gmake perl5
-USE_GCC=	yes
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 
@@ -119,7 +119,7 @@ post-patch:
 	-e 's+%%FIND%%+${FIND}+' \
 	-e 's+%%XARGS%%+${XARGS}+' \
 	-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
-	-e 's+%%_GCC_RUNTIME%%+${_GCC_RUNTIME}+' \
+	-e 's+%%_GCC_VER%%+${_GCC_VER}+' \
 	-e 's+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
 		${WRKSRC}/Makefile.system
 .if ${PORT_OPTIONS:MOPENMP}

Modified: head/math/openblas/files/patch-Makefile.system
==============================================================================
--- head/math/openblas/files/patch-Makefile.system	Sat Feb 21 13:18:58 2015	(r379511)
+++ head/math/openblas/files/patch-Makefile.system	Sat Feb 21 13:40:19 2015	(r379512)
@@ -1,12 +1,11 @@
 --- Makefile.system.orig	2013-07-26 02:34:45.000000000 +0900
 +++ Makefile.system	2013-07-27 01:22:51.000000000 +0900
-@@ -142,6 +142,9 @@
+@@ -142,6 +142,8 @@
  endif
  
  ifeq ($(OSNAME), FreeBSD)
 +EXTRALIB	+= -lm
-+CCOMMON_OPT     += -Wl,-rpath=%%_GCC_RUNTIME%%
-+FCOMMON_OPT	+= -Wl,-rpath=%%_GCC_RUNTIME%%
++FCOMMON_OPT	+= -Wl,-rpath=%%LOCALBASE%%/lib/gcc%%_GCC_VER%%
  MD5SUM = md5 -r
  endif
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502211340.t1LDeKhn057393>