mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] TCL: do not use host paths for header files and libraries
Date: Mon, 3 Feb 2014 14:51:53 +0100	[thread overview]
Message-ID: <201402031451.53960.jbe@pengutronix.de> (raw)

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>

diff --git a/patches/tcl8.5.15/0001-TCL-remove-host-paths-from-the-configuration.patch b/patches/tcl8.5.15/0001-TCL-remove-host-paths-from-the-configuration.patch
new file mode 100644
index 0000000..aab8a09
--- /dev/null
+++ b/patches/tcl8.5.15/0001-TCL-remove-host-paths-from-the-configuration.patch
@@ -0,0 +1,42 @@
+From: Juergen Beisert <jbe@pengutronix.de>
+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 <jbe@pengutronix.de>
+---
+ 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="-ltcl`echo ${TCL_VERSION} | tr -d .`"
+     fi
+     TCL_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}"
+-    TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
++    TCL_LIB_SPEC="${TCL_LIB_FLAG}"
+ fi
+ VERSION='${VERSION}'
+ eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
+@@ -18841,12 +18841,12 @@ else
+ fi
+ 
+ TCL_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
+-TCL_STUB_LIB_SPEC="-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}"
++TCL_STUB_LIB_SPEC="${TCL_STUB_LIB_FLAG}"
+ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
+ TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
+ 
+ # Install time header dir can be set via --includedir
+-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
++eval "TCL_INCLUDE_SPEC=\"\""
+ 
+ #------------------------------------------------------------------------
+ # 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.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2014-02-03 13:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201402031451.53960.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox