mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
|
diff --git a/libphobos/configure.ac b/libphobos/configure.ac
|
||
|
index 51d9b86..6ff04f1 100644
|
||
|
--- a/libphobos/configure.ac
|
||
|
+++ b/libphobos/configure.ac
|
||
|
@@ -239,9 +239,9 @@ else
|
||
|
fi
|
||
|
|
||
|
if test "${gdc_host}" != "${gdc_target}"; then
|
||
|
- gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/d
|
||
|
+ gdc_include_dir='${libdir}/gcc/${host_alias}'/${d_gcc_ver}/include/dlang
|
||
|
else
|
||
|
- gdc_include_dir='${prefix}'/include/d/${d_gcc_ver}
|
||
|
+ gdc_include_dir='${prefix}'/include/dlang/gdc
|
||
|
fi
|
||
|
AC_SUBST(gdc_include_dir)
|
||
|
AC_ARG_WITH([cross-host],
|
||
|
|
||
|
diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
|
||
|
index 17e5c45..8a656b1 100644
|
||
|
--- a/gcc/d/Make-lang.in
|
||
|
+++ b/gcc/d/Make-lang.in
|
||
|
@@ -25,10 +25,10 @@ D_TARGET_INSTALL_NAME = $(target_alias)-$(shell echo gdc|sed '$(program_transfor
|
||
|
|
||
|
# This should be configured
|
||
|
ifeq ($(host), $(target))
|
||
|
- D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include/d/$(version)
|
||
|
+ D_include_dir = `echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/include/dlang/gdc
|
||
|
gcc_d_include_dir = $(libsubdir)/$(unlibsubdir)/..$(D_include_dir)
|
||
|
else
|
||
|
- gcc_d_include_dir = $(libsubdir)/include/d
|
||
|
+ gcc_d_include_dir = $(libsubdir)/include/dlang/gdc
|
||
|
endif
|
||
|
|
||
|
|