[101195] trunk/dports/science/ncarg/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Jan 5 21:39:14 PST 2013
Revision: 101195
https://trac.macports.org/changeset/101195
Author: takeshi at macports.org
Date: 2013-01-05 21:39:14 -0800 (Sat, 05 Jan 2013)
Log Message:
-----------
ncarg: a workaround for XQuartz 2.7.3 on Mountain Lion
Modified Paths:
--------------
trunk/dports/science/ncarg/Portfile
Modified: trunk/dports/science/ncarg/Portfile
===================================================================
--- trunk/dports/science/ncarg/Portfile 2013-01-06 04:17:11 UTC (rev 101194)
+++ trunk/dports/science/ncarg/Portfile 2013-01-06 05:39:14 UTC (rev 101195)
@@ -5,7 +5,7 @@
name ncarg
version 6.1.0
-revision 2
+revision 3
categories science
maintainers takeshi
license {UCAR-Unidata public-domain BSD LGPL-3 GPL-3}
@@ -111,6 +111,10 @@
#define ManRoot ${destroot}${prefix}/share/man\\
#define NetCDFlib -lnetcdf\\
#define HDFEOS5lib -lhe5_hdfeos -lGctp -lhdf5|" ${worksrcpath}/config/${f}
+# A workaround for XQuartz 2.7.3 on Mountain Lion known as ncl.xq.fix
+ if {${os.version}>=12} {
+ reinplace "s|-D__UNIXOS2__|-D__UNIXOS2__ -D__JIRA1530__|" ${worksrcpath}/config/${f}
+ }
}
if {[variant_isset g95]} {
reinplace "s|-fno-range-check||" ${worksrcpath}/config/Darwin_Intel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130105/b61dcc44/attachment.html>
More information about the macports-changes
mailing list