Revision
81676
Author
jmr@macports.org
Date
2011-08-04 00:37:27 -0700 (Thu, 04 Aug 2011)

Log Message

hugs98: apply darwin 10 patches on future versions too (#30582)

Modified Paths

Diff

Modified: trunk/dports/lang/hugs98/Portfile (81675 => 81676)


--- trunk/dports/lang/hugs98/Portfile	2011-08-04 07:35:03 UTC (rev 81675)
+++ trunk/dports/lang/hugs98/Portfile	2011-08-04 07:37:27 UTC (rev 81676)
@@ -22,7 +22,7 @@
 
 depends_lib	port:readline
 
-platform darwin 10 {
+if {${os.platform} == "darwin" && ${os.major} >= 10} {
     # This fixes the 'Undefined symbols: "_environ"' error
     patchfiles-append patch-packages-base-include-HsBase.h.diff
     # This fixes the 'Undefined symbols: "renameFile_17' and 'readdir_40' errors