Bug#358066: mesa: FTBFS on hurd-i386 because of lack of mklib
support
Samuel Thibault
samuel.thibault at ens-lyon.org
Tue Mar 21 02:20:56 UTC 2006
Package: mesa
Severity: normal
Tags: patch
Hi,
Mesa FTBFS on hurd-i386 because mklib doesn't know about GNU. Please
apply attached patch.
Regards,
Samuel
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
--
Samuel Thibault <samuel.thibault at ens-lyon.org>
Be warned that typing \fBkillall \fIname\fP may not have the desired
effect on non-Linux systems, especially when done by a privileged user.
(From the killall manual page)
-------------- next part --------------
--- bin/mklib.orig 2006-03-21 01:17:08.000000000 +0100
+++ bin/mklib 2006-03-21 01:18:37.000000000 +0100
@@ -175,7 +175,7 @@
#
case $ARCH in
- 'Linux' | 'OpenBSD')
+ 'Linux' | 'OpenBSD' | 'GNU')
# we assume gcc
if [ "x$LINK" = "x" ] ; then
@@ -218,7 +218,7 @@
FINAL_LIBS=${LIBNAME}.a
else
LIBNAME="lib${LIBNAME}" # prefix with "lib"
- if [ $ARCH = 'Linux' ] ; then
+ if [ $ARCH = 'Linux' -o $ARCH = 'GNU' ] ; then
OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
else
OPTS="-shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
More information about the Pkg-mesa-devel
mailing list