[ptxdist] [PATCH] zlib: Fix build on non-Linux hosts

2012-02-05 Thread Bernhard Walle
The build system of zlib uses 'uname' to determine the operating system
for which it compiles zlib. 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 bernh...@bwalle.de
---
I think that one is okay but just got lost, right?

 rules/zlib.make |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/rules/zlib.make b/rules/zlib.make
index 0d437e3..e51fe8a 100644
--- a/rules/zlib.make
+++ b/rules/zlib.make
@@ -47,7 +47,8 @@ ZLIB_CONF_ENV := \
 # autoconf
 #
 ZLIB_AUTOCONF := \
-   --prefix=/usr
+   --prefix=/usr \
+   --uname=Linux
 
 ifdef PTXCONF_ZLIB_STATIC
 ZLIB_AUTOCONF += --static
-- 
1.7.9


-- 
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] How to deal with alternatives

2012-02-05 Thread Erwin Rol

Hey all,

I was wondering how I can deal with alternatives packages?
I have a nVidia BLOB driver for Tegra 2 OpenGL ES. That drivers brings 
the OpenGL libs that are needed by 3d programs. But those programs all 
select MESALIB which brings the opensource OpenGL libraries.


So how can I deal with two (or more) packages that offer feature XYZ 
that is needed by other packages?


- Erwin


--
ptxdist mailing list
ptxdist@pengutronix.de