Ticket #39230: remove-chown-libcxx.patch

File remove-chown-libcxx.patch, 6.7 KB (added by larryv (Lawrence Velázquez), 11 years ago)

fix for clang-3.0, clang-3.1, clang-3.2

  • trunk/dports/lang/llvm-3.0/Portfile

    diff --git a/trunk/dports/lang/llvm-3.0/Portfile b/trunk/dports/lang/llvm-3.0/Portfile
    a b  
    100100        distfiles-append     clang-${version}${extract.suffix}
    101101    }
    102102
    103     patchfiles-append    tiger-shlib-clang.patch scan-build-PR-35006.patch
     103    patchfiles-append    tiger-shlib-clang.patch scan-build-PR-35006.patch \
     104                         remove-chown-libcxx.patch
    104105
    105106    build.target        clang-only
    106107    destroot.target     install-clang
  • new file trunk/dports/lang/llvm-3.0/files/remove-chown-libcxx.patch

    diff --git a/trunk/dports/lang/llvm-3.0/files/remove-chown-libcxx.patch b/trunk/dports/lang/llvm-3.0/files/remove-chown-libcxx.patch
    new file mode 10644
    - +  
     1diff --git a/projects/libcxx/Makefile b/projects/libcxx/Makefile
     2index 9b1396d..9172208 100644
     3--- a/projects/libcxx/Makefile
     4+++ b/projects/libcxx/Makefile
     5@@ -37,10 +37,6 @@ installhdrs::
     6        rsync -r --exclude=".*" $(SRCDIRS)/include/* $(DSTROOT)/$(INSTALL_PREFIX)/usr/clang-ide/lib/c++/v1/
     7        rsync -r --exclude=".*" $(SRCDIRS)/include/* $(DSTROOT)/$(INSTALL_PREFIX)/Developer/usr/lib/c++/v1/
     8        rsync -r --exclude=".*" $(SRCDIRS)/include/* $(DSTROOT)/$(INSTALL_PREFIX)/Developer/Platforms/iPhoneOS.platform/usr/lib/c++/v1/
     9-       chown -R root:wheel $(DSTROOT)/$(INSTALL_PREFIX)/usr/lib/c++
     10-       chown -R root:wheel $(DSTROOT)/$(INSTALL_PREFIX)/usr/clang-ide/lib/c++
     11-       chown -R root:wheel $(DSTROOT)/$(INSTALL_PREFIX)/Developer/usr/lib/c++
     12-       chown -R root:wheel $(DSTROOT)/$(INSTALL_PREFIX)/Developer/Platforms/iPhoneOS.platform/usr/lib/c++
     13        chmod 755 $(DSTROOT)/$(INSTALL_PREFIX)/usr/lib/c++/v1
     14        chmod 755 $(DSTROOT)/$(INSTALL_PREFIX)/usr/clang-ide/lib/c++/v1
     15        chmod 755 $(DSTROOT)/$(INSTALL_PREFIX)/Developer/usr/lib/c++/v1
  • trunk/dports/lang/llvm-3.1/Portfile

    diff --git a/trunk/dports/lang/llvm-3.1/Portfile b/trunk/dports/lang/llvm-3.1/Portfile
    a b  
    104104        distfiles-append     clang-${version}.src${extract.suffix} compiler-rt-${version}.src${extract.suffix}
    105105    }
    106106
    107     patchfiles-append    tiger-shlib-clang.patch tiger-libclang.patch scan-build-PR-35006.patch
     107    patchfiles-append    tiger-shlib-clang.patch tiger-libclang.patch scan-build-PR-35006.patch \
     108                         0001-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch
    108109
    109110    build.target        clang-only
    110111    destroot.target     install-clang
  • new file trunk/dports/lang/llvm-3.1/files/0001-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch

    diff --git a/trunk/dports/lang/llvm-3.1/files/0001-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch b/trunk/dports/lang/llvm-3.1/files/0001-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch
    new file mode 10644
    - +  
     1From c52fb8d7bf3cbe29f25c7da3d9896ff0bb92b2f0 Mon Sep 17 00:00:00 2001
     2From: Bob Wilson <bob.wilson@apple.com>
     3Date: Tue, 23 Apr 2013 17:30:35 +0000
     4Subject: [PATCH] PR12597: Remove "chown -R root:wheel" from the makefile.
     5
     6git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180122 91177308-0d34-0410-b5e6-96231b3b80d8
     7---
     8 Makefile | 1 -
     9 1 file changed, 1 deletion(-)
     10
     11diff --git a/projects/libcxx/Makefile b/projects/libcxx/Makefile
     12index 182dcc3..fd32603 100644
     13--- a/projects/libcxx/Makefile
     14+++ b/projects/libcxx/Makefile
     15@@ -35,7 +35,6 @@ installheaders::
     16        mkdir -p $(HEADER_DIR)/c++/v1/ext
     17        rsync -r --exclude=".*" --exclude="support" $(SRCDIRS)/include/* \
     18          $(HEADER_DIR)/c++/v1/
     19-       chown -R root:wheel $(HEADER_DIR)/c++
     20        chmod 755 $(HEADER_DIR)/c++/v1
     21        chmod 644 $(HEADER_DIR)/c++/v1/*
     22        chmod 755 $(HEADER_DIR)/c++/v1/ext
     23--
     241.8.3.3
     25
  • trunk/dports/lang/llvm-3.2/Portfile

    diff --git a/trunk/dports/lang/llvm-3.2/Portfile b/trunk/dports/lang/llvm-3.2/Portfile
    a b  
    105105
    106106    patchfiles-append    tiger-shlib-clang.patch tiger-libclang.patch scan-build-PR-35006.patch \
    107107                         0001-Comment-out-SL-cctools-workaround.patch \
    108                          asan-pthread_workqueue.patch
     108                         asan-pthread_workqueue.patch \
     109                         0002-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch
    109110
    110111    build.target        clang-only
    111112    destroot.target     install-clang
  • new file trunk/dports/lang/llvm-3.2/files/0002-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch

    diff --git a/trunk/dports/lang/llvm-3.2/files/0002-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch b/trunk/dports/lang/llvm-3.2/files/0002-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch
    new file mode 10644
    - +  
     1From c52fb8d7bf3cbe29f25c7da3d9896ff0bb92b2f0 Mon Sep 17 00:00:00 2001
     2From: Bob Wilson <bob.wilson@apple.com>
     3Date: Tue, 23 Apr 2013 17:30:35 +0000
     4Subject: [PATCH] PR12597: Remove "chown -R root:wheel" from the makefile.
     5
     6git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180122 91177308-0d34-0410-b5e6-96231b3b80d8
     7---
     8 Makefile | 1 -
     9 1 file changed, 1 deletion(-)
     10
     11diff --git a/projects/libcxx/Makefile b/projects/libcxx/Makefile
     12index 182dcc3..fd32603 100644
     13--- a/projects/libcxx/Makefile
     14+++ b/projects/libcxx/Makefile
     15@@ -35,7 +35,6 @@ installheaders::
     16        mkdir -p $(HEADER_DIR)/c++/v1/ext
     17        rsync -r --exclude=".*" --exclude="support" $(SRCDIRS)/include/* \
     18          $(HEADER_DIR)/c++/v1/
     19-       chown -R root:wheel $(HEADER_DIR)/c++
     20        chmod 755 $(HEADER_DIR)/c++/v1
     21        chmod 644 $(HEADER_DIR)/c++/v1/*
     22        chmod 755 $(HEADER_DIR)/c++/v1/ext
     23--
     241.8.3.3
     25