diff options
Diffstat (limited to 'packages/ltrace/0.5.3/0011-configure-hostos.patch')
-rw-r--r-- | packages/ltrace/0.5.3/0011-configure-hostos.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/ltrace/0.5.3/0011-configure-hostos.patch b/packages/ltrace/0.5.3/0011-configure-hostos.patch new file mode 100644 index 00000000..96372128 --- /dev/null +++ b/packages/ltrace/0.5.3/0011-configure-hostos.patch @@ -0,0 +1,21 @@ +--- + configure | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +--- a/configure ++++ b/configure +@@ -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 |