From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay02.ispgateway.de ([80.67.18.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rmt9K-00021N-A1 for ptxdist@pengutronix.de; Mon, 16 Jan 2012 21:27:28 +0100 Received: from [88.217.99.239] (helo=galilei.fritz.box) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Rmt9J-0002Om-RE for ptxdist@pengutronix.de; Mon, 16 Jan 2012 21:27:25 +0100 From: Bernhard Walle Date: Mon, 16 Jan 2012 21:27:22 +0100 Message-Id: <1326745642-53929-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] sitecopy: Fix build on non-Linux hosts Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de The build system of sitecopy uses 'uname' to determine the operating system for which it compiles sitecopy. However, on non-Linux hosts, this leads to wrong results. Fixes Darwin (tested on Mac OS 10.7 Lion), doesn't break Linux (verified with current Arch Linux on x86_64). Signed-off-by: Bernhard Walle --- rules/sitecopy.make | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/rules/sitecopy.make b/rules/sitecopy.make index 44a7b8a..c5af415 100644 --- a/rules/sitecopy.make +++ b/rules/sitecopy.make @@ -40,7 +40,8 @@ SITECOPY_AUTOCONF := $(CROSS_AUTOCONF_USR) \ --disable-rpath \ --without-pakchois \ --without-socks \ - --without-gssapi + --without-gssapi \ + ne_cv_os_uname=Linux ifdef PTXCONF_SITECOPY_SFTP SITECOPY_AUTOCONF += --enable-sftp -- 1.7.7.4 -- ptxdist mailing list ptxdist@pengutronix.de