[128856] trunk/dports/devel/haskell-platform/Portfile

jmr at macports.org jmr at macports.org
Fri Nov 28 10:06:25 PST 2014


Revision: 128856
          https://trac.macports.org/changeset/128856
Author:   jmr at macports.org
Date:     2014-11-28 10:06:24 -0800 (Fri, 28 Nov 2014)
Log Message:
-----------
haskell-platform: use canonical case for deps on subports, and fix a comment typo

Modified Paths:
--------------
    trunk/dports/devel/haskell-platform/Portfile

Modified: trunk/dports/devel/haskell-platform/Portfile
===================================================================
--- trunk/dports/devel/haskell-platform/Portfile	2014-11-28 16:43:05 UTC (rev 128855)
+++ trunk/dports/devel/haskell-platform/Portfile	2014-11-28 18:06:24 UTC (rev 128856)
@@ -80,14 +80,14 @@
         }
 
         if {\${subport} == \${name}} {
-            depends_run-append  port:hs-${pkgname}
+            depends_run-append  port:hs-[string tolower ${pkgname}]
         }
     "
 }
 
 ##
 # Helper proc for tools and programs in the Haskell Platform. This behaves
-# exactly like \c haskell_platform_port, with the execption of passing "no" as
+# exactly like \c haskell_platform_port, with the exception of passing "no" as
 # third argument to \c haskellplatform.setup of the haskellplatform PortGroup.
 #
 # @param[in] pkgname     the name of the haskell package, case-sensitive
@@ -118,7 +118,7 @@
         }
 
         if {\${subport} == \${name}} {
-            depends_run-append  port:hs-${pkgname}
+            depends_run-append  port:hs-[string tolower ${pkgname}]
         }
     "
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141128/88c75353/attachment.html>


More information about the macports-changes mailing list