From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from thebe.hi.pengutronix.de ([2001:6f8:1178:2:5e26:aff:fe2b:7cc4]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WAJtf-0005D8-3J for ptxdist@pengutronix.de; Mon, 03 Feb 2014 14:49:11 +0100 From: Juergen Beisert Date: Mon, 3 Feb 2014 14:51:53 +0100 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201402031451.53960.jbe@pengutronix.de> Subject: [ptxdist] [PATCH] TCL: do not use host paths for header files and libraries Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Juergen Beisert diff --git a/patches/tcl8.5.15/0001-TCL-remove-host-paths-from-the-configur= ation.patch b/patches/tcl8.5.15/0001-TCL-remove-host-paths-from-the-configu= ration.patch new file mode 100644 index 0000000..aab8a09 --- /dev/null +++ b/patches/tcl8.5.15/0001-TCL-remove-host-paths-from-the-configuration.p= atch @@ -0,0 +1,42 @@ +From: Juergen Beisert +Date: Mon, 3 Feb 2014 14:47:05 +0100 +Subject: [PATCH] TCL: remove host paths from the configuration + +TCL mixes host and destdir paths. At least for a buildsystem like PTXdist = extra +paths for includes files and libraries are not required. +These adaptions are required to make TK build without error messages about= used +host paths. + +Signed-off-by: Juergen Beisert +--- + unix/configure | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/unix/configure b/unix/configure +index d7bd53b..b5b0c29 100755 +--- a/unix/configure ++++ b/unix/configure +@@ -18797,7 +18797,7 @@ else + TCL_LIB_FLAG=3D"-ltcl`echo ${TCL_VERSION} | tr -d .`" + fi + TCL_BUILD_LIB_SPEC=3D"-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}" +- TCL_LIB_SPEC=3D"-L${libdir} ${TCL_LIB_FLAG}" ++ TCL_LIB_SPEC=3D"${TCL_LIB_FLAG}" + fi + VERSION=3D'${VERSION}' + eval "CFG_TCL_SHARED_LIB_SUFFIX=3D${TCL_SHARED_LIB_SUFFIX}" +@@ -18841,12 +18841,12 @@ else + fi + = + TCL_BUILD_STUB_LIB_SPEC=3D"-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_= FLAG}" +-TCL_STUB_LIB_SPEC=3D"-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}" ++TCL_STUB_LIB_SPEC=3D"${TCL_STUB_LIB_FLAG}" + TCL_BUILD_STUB_LIB_PATH=3D"`pwd`/${TCL_STUB_LIB_FILE}" + TCL_STUB_LIB_PATH=3D"${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}" + = + # Install time header dir can be set via --includedir +-eval "TCL_INCLUDE_SPEC=3D\"-I${includedir}\"" ++eval "TCL_INCLUDE_SPEC=3D\"\"" + = + #------------------------------------------------------------------------ + # tclConfig.sh refers to this by a different name diff --git a/patches/tcl8.5.15/series b/patches/tcl8.5.15/series new file mode 100644 index 0000000..b2e0768 --- /dev/null +++ b/patches/tcl8.5.15/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-TCL-remove-host-paths-from-the-configuration.patch +# 6ae69b834a579213fbe3b1b737b0abc8 - git-ptx-patches magic -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de