[102464] trunk/dports/sysutils/e2fsprogs/Portfile

cal at macports.org cal at macports.org
Sun Feb 3 17:34:38 PST 2013


Revision: 102464
          https://trac.macports.org/changeset/102464
Author:   cal at macports.org
Date:     2013-02-03 17:34:38 -0800 (Sun, 03 Feb 2013)
Log Message:
-----------
libcomerr: add deactivate hack targeting kerberos5 < 1.11, because some files were previously installed by it.

Modified Paths:
--------------
    trunk/dports/sysutils/e2fsprogs/Portfile

Modified: trunk/dports/sysutils/e2fsprogs/Portfile
===================================================================
--- trunk/dports/sysutils/e2fsprogs/Portfile	2013-02-04 01:29:21 UTC (rev 102463)
+++ trunk/dports/sysutils/e2fsprogs/Portfile	2013-02-04 01:34:38 UTC (rev 102464)
@@ -66,6 +66,16 @@
         ln -fs libcom_err.1.1.dylib ${destroot}${prefix}/lib/libcom_err.dylib
         system "install_name_tool -id ${prefix}/lib/libcom_err.1.1.dylib ${destroot}${prefix}/lib/libcom_err.1.1.dylib"
     }
+
+    pre-activate {
+        if {![catch {set installed [lindex [registry_active kerberos5] 0]}]} {
+            set version [lindex $installed 1]
+            if {[vercmp $version 1.11] < 0} {
+                # kerberos5 used to install some files now provided by libcomerr in versions < 1.11
+                registry_deactivate_composite kerberos5 "" [list ports_nodepcheck 1]
+            }
+        }
+    }
 }
 
 livecheck.type              regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130203/9bffcf51/attachment.html>


More information about the macports-changes mailing list