aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang-devel/files
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2010-02-17 02:27:16 +0800
committerbrooks <brooks@FreeBSD.org>2010-02-17 02:27:16 +0800
commit9d2c9203a0dd86b4806e1692a7980649117afede (patch)
treec0d784e43a59d747f0c875cd895fc7b1a92d0f3c /lang/clang-devel/files
parentbc5184ba730974b7d921bd89a36147f74762234f (diff)
downloadfreebsd-ports-gnome-9d2c9203a0dd86b4806e1692a7980649117afede.tar.gz
freebsd-ports-gnome-9d2c9203a0dd86b4806e1692a7980649117afede.tar.zst
freebsd-ports-gnome-9d2c9203a0dd86b4806e1692a7980649117afede.zip
Only install compiler headers we don't provide as part of the BSD base.
This should fix some compilation problems and we've been doing it in devel/llvm-devel for ages. Feature safe: yes Reported by: rdivacky
Diffstat (limited to 'lang/clang-devel/files')
-rw-r--r--lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile b/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile
new file mode 100644
index 000000000000..a131848ac069
--- /dev/null
+++ b/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD: /tmp/pcvs/ports/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile,v 1.1 2010-02-16 18:27:16 brooks Exp $
+
+--- tools/clang/lib/Headers/Makefile.orig
++++ tools/clang/lib/Headers/Makefile
+@@ -13,7 +13,7 @@
+ # FIXME: Get version from a common place.
+ HeaderDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib/clang/1.0/include
+
+-HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*.h))
++HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*mm*.h))
+
+ OBJHEADERS := $(addprefix $(HeaderDir)/, $(HEADERS))
+