[117909] trunk/dports/devel/valgrind/Portfile

raimue at macports.org raimue at macports.org
Sun Mar 16 16:06:54 PDT 2014


Revision: 117909
          https://trac.macports.org/changeset/117909
Author:   raimue at macports.org
Date:     2014-03-16 16:06:53 -0700 (Sun, 16 Mar 2014)
Log Message:
-----------
devel/valgrind:
Reinstate platform check in pre-fetch that was accidentally removed in r117639.

Revision Links:
--------------
    https://trac.macports.org/changeset/117639

Modified Paths:
--------------
    trunk/dports/devel/valgrind/Portfile

Modified: trunk/dports/devel/valgrind/Portfile
===================================================================
--- trunk/dports/devel/valgrind/Portfile	2014-03-16 21:59:45 UTC (rev 117908)
+++ trunk/dports/devel/valgrind/Portfile	2014-03-16 23:06:53 UTC (rev 117909)
@@ -34,12 +34,12 @@
 # Avoid conflict of faq.html and FAQ.html, #30541
 extract.post_args-append --exclude=${distname}/docs/html/FAQ.html
 
-#pre-fetch {
-#    if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 12)} {
-#        ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
-#        return -code error "incompatible Mac OS X version"
-#    }
-#}
+pre-fetch {
+    if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 12)} {
+        ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
+        return -code error "incompatible Mac OS X version"
+    }
+}
 
 depends_build   bin:perl:perl5
 # Ignore trace reports about boost, Qt and OpenMP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140316/1bc53945/attachment.html>


More information about the macports-changes mailing list