[80309] trunk/dports/aqua/Platypus/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Jul 8 17:19:57 PDT 2011


Revision: 80309
          http://trac.macports.org/changeset/80309
Author:   ryandesign at macports.org
Date:     2011-07-08 17:19:56 -0700 (Fri, 08 Jul 2011)
Log Message:
-----------
Platypus: fix build on Leopard; see #28232

Modified Paths:
--------------
    trunk/dports/aqua/Platypus/Portfile

Modified: trunk/dports/aqua/Platypus/Portfile
===================================================================
--- trunk/dports/aqua/Platypus/Portfile	2011-07-09 00:16:09 UTC (rev 80308)
+++ trunk/dports/aqua/Platypus/Portfile	2011-07-09 00:19:56 UTC (rev 80309)
@@ -37,8 +37,8 @@
 post-destroot {
 	reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
 
-	# there is no English.lproj when building on Tiger but there is one on SL
-	if {"darwin" == ${os.platform} && 8 == ${os.major}} {
+	# there is no English.lproj when building on Tiger and Leopard but there is one on SL
+	if {"darwin" == ${os.platform} && 10 > ${os.major}} {
 		reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
 	}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110708/6e8b4323/attachment-0001.html>


More information about the macports-changes mailing list