[96250] trunk/dports/science/ncarg/Portfile
takeshi at macports.org
takeshi at macports.org
Mon Aug 6 01:02:22 PDT 2012
Revision: 96250
https://trac.macports.org/changeset/96250
Author: takeshi at macports.org
Date: 2012-08-06 01:02:22 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
ncarg: comply UsingTheRightCompiler when linking ncl
Modified Paths:
--------------
trunk/dports/science/ncarg/Portfile
Modified: trunk/dports/science/ncarg/Portfile
===================================================================
--- trunk/dports/science/ncarg/Portfile 2012-08-06 08:00:33 UTC (rev 96249)
+++ trunk/dports/science/ncarg/Portfile 2012-08-06 08:02:22 UTC (rev 96250)
@@ -5,7 +5,7 @@
name ncarg
version 6.0.0
-revision 7
+revision 8
categories science
maintainers takeshi
description language for scientific data processing and visualization
@@ -74,6 +74,7 @@
post-patch {
reinplace "s| -lsz||g" ${worksrcpath}/Configure
reinplace "s| -lsz||g" ${worksrcpath}/config/Project
+ reinplace "s|g\\\\+\\\\+|${configure.cc}|" ${worksrcpath}/ni/src/ncl/yMakefile
reinplace "s|INC=-I/usr/include|INC=${configure.cppflags} ${configure.cflags}|" ${workpath}/${g2clib_worksrcdir}/makefile
reinplace "s|CC=gcc -fPIC|CC=${configure.cc}|" ${workpath}/${g2clib_worksrcdir}/makefile
if {$build_arch eq "x86_64" || $build_arch eq "ppc64"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/e2d6ccf5/attachment-0001.html>
More information about the macports-changes
mailing list