diff options
author | Alexey Neyman <stilor@att.net> | 2017-05-20 04:58:46 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 17:57:56 (GMT) |
commit | e7deac3aad394325f9e6fc6fda41d34ec94a59e0 (patch) | |
tree | 6ad88362f0bfa8385a91eb494009a4646aeb74b6 /packages/ltrace/0.5.3/200-configure-hostos.patch | |
parent | b9af225f58e45c7fae7eb9d3689fe939243e7578 (diff) |
Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/ltrace/0.5.3/200-configure-hostos.patch')
-rw-r--r-- | packages/ltrace/0.5.3/200-configure-hostos.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/ltrace/0.5.3/200-configure-hostos.patch b/packages/ltrace/0.5.3/200-configure-hostos.patch new file mode 100644 index 0000000..36563f4 --- /dev/null +++ b/packages/ltrace/0.5.3/200-configure-hostos.patch @@ -0,0 +1,18 @@ +diff -ru ltrace-0.5.3.org/configure ltrace-0.5.3/configure +--- ltrace-0.5.3.org/configure 2011-08-21 18:55:15.000000000 +0200 ++++ ltrace-0.5.3/configure 2011-08-21 18:54:46.000000000 +0200 +@@ -15,8 +15,12 @@ + echo $PACKAGE_VERSION + + echo -n "checking HOST_OS... " +-HOST_OS=$( uname -s ) +-if [ "$HOST_OS" = "Linux" ] ++if [ -z "$HOST_OS" ] ; then ++ HOST_OS=$( uname -s ) ++else ++ echo -n "using preset: " ++fi ++if [ "$HOST_OS" = "Linux" -o "$HOST_OS" = "linux" ] + then + HOST_OS="linux-gnu" + fi |