[109242] trunk/dports

cal at macports.org cal at macports.org
Sun Aug 11 04:18:03 PDT 2013


Revision: 109242
          https://trac.macports.org/changeset/109242
Author:   cal at macports.org
Date:     2013-08-11 04:18:03 -0700 (Sun, 11 Aug 2013)
Log Message:
-----------
hs-process: delete, provided by base; ghc: revbump and add deactivation hack for hs-process

Modified Paths:
--------------
    trunk/dports/lang/ghc/Portfile

Removed Paths:
-------------
    trunk/dports/devel/hs-process/

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2013-08-11 10:10:41 UTC (rev 109241)
+++ trunk/dports/lang/ghc/Portfile	2013-08-11 11:18:03 UTC (rev 109242)
@@ -6,6 +6,7 @@
 name                ghc
 set canonicalname   ghc
 version             7.6.3
+revision            1
 categories          lang haskell
 maintainers         gmail.com:kitchen.andy cal openmaintainer
 license             BSD
@@ -131,9 +132,15 @@
 
 pre-activate {
     # Legacy port deactivation hack added 2012-12-08
-    if { ![catch {set platform_ghc_installed [lindex [registry_active hs-platform-ghc] 0]}] } {
+    if {![catch {set platform_ghc_installed [lindex [registry_active hs-platform-ghc] 0]}]} {
         # hs-platform-ghc is installed and active
         # force deactivation
         registry_deactivate_composite hs-platform-ghc "" [list ports_nodepcheck 1]
     }
+    # Legacy port deactivation hack added 2013-08-11, hs-process is provided by base
+    if {![catch {set hs_process_installed [lindex [registry_active hs-process] 0]}]} {
+        # hs-process is installed and active
+        # force deactivation
+        registry_deactivate_composite hs-process "" [list ports_nodepcheck 1]
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130811/43338505/attachment.html>


More information about the macports-changes mailing list