From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Wed, 18 Jan 2012 11:05:11 +0100 References: <1326745642-53929-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <1326745642-53929-1-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201201181105.11155.jbe@pengutronix.de> Subject: Re: [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: , 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 Cc: Bernhard Walle Hi Bernhard, Bernhard Walle wrote: > 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 Can you send me the "config.log" file of the sitecopy package, after *preparing* (prepare stage) it? Please run it one times without your patch shown above. I have no other system than Linux here, to check what the autotools really detecting on different systems. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de