SHA256
1
0
forked from pool/ipmitool
ipmitool/0009-Add-bootstrap-support-for-Mac.patch

31 lines
833 B
Diff
Raw Normal View History

From e45dc6234bf887fa8356684c13f2468c3041c542 Mon Sep 17 00:00:00 2001
From: Sergey Kleymenov <sergeykleymenov@gmail.com>
Date: Thu, 19 Mar 2015 08:31:53 +0300
Subject: [PATCH 09/17] Add bootstrap support for Mac
---
bootstrap | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Index: ipmitool-1.8.18/bootstrap
===================================================================
--- ipmitool-1.8.18.orig/bootstrap 2017-03-28 18:26:08.841325593 +0200
+++ ipmitool-1.8.18/bootstrap 2017-03-28 18:32:36.955472419 +0200
@@ -31,7 +31,15 @@
# EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
aclocal
-libtoolize --automake --copy
+
+case `uname` in
+ Darwin*)
+ glibtoolize --automake --copy
+ ;;
+ *)
+ libtoolize --automake --copy
+ ;;
+esac
autoheader
automake --foreign --add-missing --copy