[95844] trunk/dports/lang/clang-3.2/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jul 24 09:26:00 PDT 2012


Revision: 95844
          https://trac.macports.org/changeset/95844
Author:   ryandesign at macports.org
Date:     2012-07-24 09:26:00 -0700 (Tue, 24 Jul 2012)
Log Message:
-----------
clang-3.2: remove pre-activate block which was only necessary in the clang-2.9 / clang-3.0 / clang-3.1 ports

Modified Paths:
--------------
    trunk/dports/lang/clang-3.2/Portfile

Modified: trunk/dports/lang/clang-3.2/Portfile
===================================================================
--- trunk/dports/lang/clang-3.2/Portfile	2012-07-24 16:20:41 UTC (rev 95843)
+++ trunk/dports/lang/clang-3.2/Portfile	2012-07-24 16:26:00 UTC (rev 95844)
@@ -210,14 +210,3 @@
     system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
     system "install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
 }
-
-pre-activate {
-    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
-    # rather than ${destroot}${sub_prefix}/bin/ld
-    set filepath ${sub_prefix}/bin/ld
-    if {[file exists ${filepath}] && [registry_file_registered ${filepath}] == "0"} {
-        if {[catch {delete ${filepath}}]} {
-            ui_warn "Cannot delete ${filepath}; please remove it manually"
-        }
-    }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120724/ddc1b86a/attachment.html>


More information about the macports-changes mailing list