[70322] trunk/dports/science/plplot/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Aug 5 18:10:20 PDT 2010
Revision: 70322
http://trac.macports.org/changeset/70322
Author: takeshi at macports.org
Date: 2010-08-05 18:10:19 -0700 (Thu, 05 Aug 2010)
Log Message:
-----------
plplot: patch-sfstubsf95.f90.diff restricted to g95 on powerpc
Modified Paths:
--------------
trunk/dports/science/plplot/Portfile
Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile 2010-08-06 01:08:52 UTC (rev 70321)
+++ trunk/dports/science/plplot/Portfile 2010-08-06 01:10:19 UTC (rev 70322)
@@ -5,6 +5,7 @@
name plplot
version 5.9.6
+revision 1
platforms darwin
maintainers takeshi
categories science
@@ -36,8 +37,7 @@
port:tk \
port:zlib
-patchfiles patch-x18f.f90.diff \
- patch-sfstubsf95.f90.diff
+patchfiles patch-x18f.f90.diff
post-patch {
reinplace "s|-framework AquaTerm|-F${prefix}/Library/Frameworks -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake
}
@@ -148,6 +148,10 @@
depends_lib-append port:g95
configure.args-append -DCMAKE_Fortran_COMPILER=\"${prefix}/bin/g95\" \
-DCMAKE_OSX_DEPLOYMENT_TARGET=\"\"
+# Ad hoc fix to enable build of f95 binding by disabling some features
+ if {${os.arch}=="powerpc"} {
+ patchfiles-append patch-sfstubsf95.f90.diff
+ }
}
variant octave description {Add support for Octave} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100805/9fb400e2/attachment.html>
More information about the macports-changes
mailing list