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

Gerald Pfeifer gerald at FreeBSD.org
Sun Feb 23 01:06:17 UTC 2014


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


More information about the svn-ports-head mailing list