From e7a038828ec169ce824238c0197e5fe5482b0ec7 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 24 Aug 2000 14:07:29 +0000 Subject: Fix extras. Do not write outside the working directory during the build process. PR: ports/20740 Submitted by: Toshihiro Inoue (MAINTAINER) --- devel/mingw-gcc/files/patch-aa | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 devel/mingw-gcc/files/patch-aa (limited to 'devel/mingw-gcc/files/patch-aa') diff --git a/devel/mingw-gcc/files/patch-aa b/devel/mingw-gcc/files/patch-aa new file mode 100644 index 000000000000..29cdf81e1bb9 --- /dev/null +++ b/devel/mingw-gcc/files/patch-aa @@ -0,0 +1,29 @@ +--- gcc/configure.orig Thu Aug 24 19:33:08 2000 ++++ gcc/configure Thu Aug 24 19:52:57 2000 +@@ -763,7 +763,7 @@ + gcc_gxx_include_dir='${libsubdir}/include/g++' + else + topsrcdir=${srcdir}/.. . ${srcdir}/../config.if +- gcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/g++"-${libstdcxx_interface} ++ gcc_gxx_include_dir="\$(local_prefix)\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/g++"-${libstdcxx_interface} + fi + fi + +@@ -8530,7 +8530,7 @@ + # make and thus we'd get different behavior depending on where we built the + # sources. + if test x$exec_prefix = xNONE -o x$exec_prefix = x$prefix; then +- gcc_tooldir='$(libsubdir)/$(unlibsubdir)/../$(target_alias)' ++ gcc_tooldir='$(local_prefix)/$(target_alias)' + else + # An explanation of the sed strings: + # -e 's|^\$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix' +@@ -8554,7 +8554,7 @@ + # /foo /foo/bar/ugg ../../ + # + dollar='$$' +- gcc_tooldir="\$(libsubdir)/\$(unlibsubdir)/\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/\$(dollar)||' -e 's|^[^/]|/|' -e 's|/[^/]*|../|g'\`\$(target_alias)" ++ gcc_tooldir="\$(libdir)/\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/\$(dollar)||' -e 's|^[^/]|/|' -e 's|/[^/]*|../|g'\`\$(target_alias)" + fi + + -- cgit v1.2.3