svn commit: r379512 - in head/math/openblas: . files

Thomas Zander riggs at FreeBSD.org
Sat Feb 21 13:40:21 UTC 2015


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 at 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
  


More information about the svn-ports-head mailing list