Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 01:06:16 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345684 - in head/math/openblas: . files
Message-ID:  <201402230106.s1N16GWf044293@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Feb 23 01:06:16 2014
New Revision: 345684
URL: http://svnweb.freebsd.org/changeset/ports/345684
QAT: https://qat.redports.org/buildarchive/r345684/

Log:
  Replace the manual construction of references to the runtime path of
  the version of GCC we are using by _GCC_RUNTIME.
  
  Approved by:	Eijiro Shibusawa <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	Sun Feb 23 00:55:46 2014	(r345683)
+++ head/math/openblas/Makefile	Sun Feb 23 01:06:16 2014	(r345684)
@@ -121,7 +121,7 @@ post-patch:
 	-e 's+%%FIND%%+${FIND}+' \
 	-e 's+%%XARGS%%+${XARGS}+' \
 	-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
-	-e 's+%%_GCC_BUILD_DEPENDS%%+${_GCC_BUILD_DEPENDS}+' \
+	-e 's+%%_GCC_RUNTIME%%+${_GCC_RUNTIME}+' \
 	-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	Sun Feb 23 00:55:46 2014	(r345683)
+++ head/math/openblas/files/patch-Makefile.system	Sun Feb 23 01:06:16 2014	(r345684)
@@ -5,8 +5,8 @@
  
  ifeq ($(OSNAME), FreeBSD)
 +EXTRALIB	+= -lm
-+CCOMMON_OPT     += -Wl,-rpath=%%LOCALBASE%%/lib/%%_GCC_BUILD_DEPENDS%%
-+FCOMMON_OPT	+= -Wl,-rpath=%%LOCALBASE%%/lib/%%_GCC_BUILD_DEPENDS%%
++CCOMMON_OPT     += -Wl,-rpath=%%_GCC_RUNTIME%%
++FCOMMON_OPT	+= -Wl,-rpath=%%_GCC_RUNTIME%%
  MD5SUM = md5 -r
  endif
  



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