[89285] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sun Jan 22 21:27:59 PST 2012


Revision: 89285
          http://trac.macports.org/changeset/89285
Author:   jeremyhu at macports.org
Date:     2012-01-22 21:27:59 -0800 (Sun, 22 Jan 2012)
Log Message:
-----------
clang-*: Install documentation (#32969)

Modified Paths:
--------------
    trunk/dports/lang/clang-2.9/Portfile
    trunk/dports/lang/clang-3.0/Portfile
    trunk/dports/lang/clang-3.1/Portfile
    trunk/dports/lang/clang-3.1/files/install_target.patch

Added Paths:
-----------
    trunk/dports/lang/clang-2.9/files/install_target.patch
    trunk/dports/lang/clang-3.0/files/install_target.patch

Modified: trunk/dports/lang/clang-2.9/Portfile
===================================================================
--- trunk/dports/lang/clang-2.9/Portfile	2012-01-23 05:20:48 UTC (rev 89284)
+++ trunk/dports/lang/clang-2.9/Portfile	2012-01-23 05:27:59 UTC (rev 89285)
@@ -4,7 +4,7 @@
 PortGroup select        1.0
 
 set llvm_version        2.9
-revision                4
+revision                5
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
@@ -53,8 +53,10 @@
                     rmd160  4ab79cbd0e2ad25a2272e6ee2fbbf546818dbd73 \
                     sha256  70c41f3f782a71cbaa7bc8d6ea29fce4263ad3e8558dfecc6dc11cdef17909df
 
+patchfiles install_target.patch
+
 build.target            clang-only
-destroot.target         install-clang-c
+destroot.target         install-clang
 build.env-append        REQUIRE_RTTI=1
 configure.cppflags
 configure.ldflags

Added: trunk/dports/lang/clang-2.9/files/install_target.patch
===================================================================
--- trunk/dports/lang/clang-2.9/files/install_target.patch	                        (rev 0)
+++ trunk/dports/lang/clang-2.9/files/install_target.patch	2012-01-23 05:27:59 UTC (rev 89285)
@@ -0,0 +1,14 @@
+--- Makefile.orig	2012-01-22 19:39:46.000000000 -0800
++++ Makefile	2012-01-22 19:40:29.000000000 -0800
+@@ -68,8 +68,9 @@ endif
+ 
+ ifeq ($(MAKECMDGOALS),install-clang)
+   DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
+-          tools/clang/runtime tools/clang/docs \
+-          tools/lto
++          tools/clang/tools/libclang tools/clang/tools/c-index-test \
++          tools/clang/include/clang-c \
++          tools/clang/runtime tools/clang/docs
+   OPTIONAL_DIRS :=
+   NO_INSTALL = 1
+ endif

Modified: trunk/dports/lang/clang-3.0/Portfile
===================================================================
--- trunk/dports/lang/clang-3.0/Portfile	2012-01-23 05:20:48 UTC (rev 89284)
+++ trunk/dports/lang/clang-3.0/Portfile	2012-01-23 05:27:59 UTC (rev 89285)
@@ -4,7 +4,7 @@
 PortGroup select        1.0
 
 set llvm_version        3.0
-revision                3
+revision                4
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
@@ -53,8 +53,10 @@
                     rmd160  640b309116db4357627c0b81ebba5dab824d9eeb \
                     sha256  b64e72da356d7c3428cfd7ac620d49ec042c84eaee13c26024879f555f4e126d
 
+patchfiles install_target.patch
+
 build.target            clang-only
-destroot.target         install-clang-c
+destroot.target         install-clang
 build.env-append        REQUIRE_RTTI=1
 configure.cppflags
 configure.ldflags

Added: trunk/dports/lang/clang-3.0/files/install_target.patch
===================================================================
--- trunk/dports/lang/clang-3.0/files/install_target.patch	                        (rev 0)
+++ trunk/dports/lang/clang-3.0/files/install_target.patch	2012-01-23 05:27:59 UTC (rev 89285)
@@ -0,0 +1,14 @@
+--- Makefile.orig	2011-10-07 17:27:38.000000000 -0700
++++ Makefile	2012-01-22 19:44:34.000000000 -0800
+@@ -68,8 +68,9 @@ endif
+ 
+ ifeq ($(MAKECMDGOALS),install-clang)
+   DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
+-          tools/clang/runtime tools/clang/docs \
+-          tools/lto runtime
++          tools/clang/tools/libclang tools/clang/tools/c-index-test \
++          tools/clang/include/clang-c \
++          tools/clang/runtime tools/clang/docs
+   OPTIONAL_DIRS :=
+   NO_INSTALL = 1
+ endif

Modified: trunk/dports/lang/clang-3.1/Portfile
===================================================================
--- trunk/dports/lang/clang-3.1/Portfile	2012-01-23 05:20:48 UTC (rev 89284)
+++ trunk/dports/lang/clang-3.1/Portfile	2012-01-23 05:27:59 UTC (rev 89285)
@@ -35,6 +35,7 @@
 fetch.type              svn
 svn.revision            148486
 version                 ${llvm_version}-r${svn.revision}
+revision                1
 worksrcdir              trunk
 svn.url                 http://llvm.org/svn/llvm-project/llvm/trunk
 
@@ -48,7 +49,7 @@
 patchfiles install_target.patch
 
 build.target            clang-only
-destroot.target         install-clang-c
+destroot.target         install-clang
 build.env-append        REQUIRE_RTTI=1
 configure.cppflags
 configure.ldflags

Modified: trunk/dports/lang/clang-3.1/files/install_target.patch
===================================================================
--- trunk/dports/lang/clang-3.1/files/install_target.patch	2012-01-23 05:20:48 UTC (rev 89284)
+++ trunk/dports/lang/clang-3.1/files/install_target.patch	2012-01-23 05:27:59 UTC (rev 89285)
@@ -1,35 +1,12 @@
-commit 87b794d2ff61c51488e99ab28c85d6aa1530f7fb
-Author: Jeremy Huddleston <jeremyhu at apple.com>
-Date:   Sat Dec 10 19:47:18 2011 -0800
-
-    Revert "Remove the install-clang-c makefile target."
-    
-    This reverts commit a97f02c40c95933df4b38a9ca7033836ded7ea18.
-
-diff --git a/Makefile b/Makefile
-index 35fa00f..79fb043 100644
---- Makefile
-+++ Makefile
-@@ -76,6 +76,14 @@ ifeq ($(MAKECMDGOALS),install-clang)
+--- Makefile.orig	2012-01-22 17:34:02.000000000 -0800
++++ Makefile	2012-01-22 17:34:14.000000000 -0800
+@@ -70,8 +70,7 @@ ifeq ($(MAKECMDGOALS),install-clang)
+   DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
+           tools/clang/tools/libclang tools/clang/tools/c-index-test \
+           tools/clang/include/clang-c \
+-          tools/clang/runtime tools/clang/docs \
+-          tools/lto runtime
++          tools/clang/runtime tools/clang/docs
+   OPTIONAL_DIRS :=
    NO_INSTALL = 1
  endif
- 
-+ifeq ($(MAKECMDGOALS),install-clang-c)
-+  DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
-+          tools/clang/tools/libclang tools/clang/tools/c-index-test \
-+         tools/clang/include/clang-c
-+  OPTIONAL_DIRS :=
-+  NO_INSTALL = 1
-+endif
-+
- ifeq ($(MAKECMDGOALS),clang-only)
-   DIRS := $(filter-out tools docs unittests, $(DIRS)) \
-           tools/clang tools/lto
-@@ -163,6 +171,7 @@ clang-only: all
- tools-only: all
- libs-only: all
- install-clang: install
-+install-clang-c: install
- install-libs: install
- 
- # If SHOW_DIAGNOSTICS is enabled, clear the diagnostics file first.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120122/f854522a/attachment-0001.html>


More information about the macports-changes mailing list