mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] sitecopy: Fix build on non-Linux hosts
@ 2012-01-16 20:27 Bernhard Walle
  2012-01-18 10:05 ` Juergen Beisert
  2012-01-22 10:49 ` Michael Olbrich
  0 siblings, 2 replies; 9+ messages in thread
From: Bernhard Walle @ 2012-01-16 20:27 UTC (permalink / raw)
  To: ptxdist

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 <bernhard@bwalle.de>
---
 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-22 12:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-16 20:27 [ptxdist] [PATCH] sitecopy: Fix build on non-Linux hosts Bernhard Walle
2012-01-18 10:05 ` Juergen Beisert
2012-01-18 10:08   ` Bernhard Walle
2012-01-18 10:23     ` Juergen Beisert
2012-01-19  7:25       ` Bernhard Walle
2012-01-19  9:17         ` Juergen Beisert
2012-01-19 18:23           ` Bernhard Walle
2012-01-22 10:49 ` Michael Olbrich
2012-01-22 12:59   ` Bernhard Walle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox