[MacPorts] #34214: Install clang development headers
MacPorts
noreply at macports.org
Tue Jun 12 10:25:24 PDT 2012
#34214: Install clang development headers
--------------------------------------+-------------------------------------
Reporter: jonesc@… | Owner: jeremyhu@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: clang-3.1
--------------------------------------+-------------------------------------
Comment(by jonesc@…):
Thanks ! That makes more sense. Changing the patch to include
tools/clang/lib instead
{{{
--- a/Makefile.orig 2012-01-22 17:34:02.000000000 -0800
+++ b/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/include tools/clang/lib \
+ tools/clang/runtime tools/clang/docs
OPTIONAL_DIRS :=
NO_INSTALL = 1
endif
}}}
Seems to have worked fine. The libraries are now installed in
/opt/local/libexec/llvm-3.2/lib.
So, would it be OK to add this to the patch file ? Similarly for Clang-3.1
if possible too ;)
cheers Chris
--
Ticket URL: <https://trac.macports.org/ticket/34214#comment:33>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list