Package: stlport5
Version: 5.0.2-3
Severity: important
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
Previous versions built fine, see
http://experimental.ftbfs.de/build.php?&pkg=stlport5&arch=kfreebsd-i386&file=log
It is due to:
* Switch to upstream build system, and adapt README.Debian accordingly.
Please find attached patch to fix that.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
--- stlport5-5.0.2/build/Makefiles/gmake/sysid.mak 2005-12-14
18:49:02.000000000 +0100
+++ stlport5-5.0.2/build/Makefiles/gmake/sysid.mak 2006-06-27
00:48:12.000000000 +0200
@@ -49,6 +49,10 @@
# TARGET_OS
endif
+ifeq ($(OSNAME),gnu-kfreebsd)
+OSNAME := linux
+endif
+
NODENAME := $(shell uname -n | tr '[A-Z]' '[a-z]' )
SYSVER := $(shell uname -v )
USER := $(shell echo $$USER )
@@ -77,6 +81,10 @@
BUILD_OSREALNAME := mingw
endif
+ifeq ($(BUILD_OSNAME),gnu-kfreebsd)
+BUILD_OSNAME := linux
+endif
+
BUILD_OSREL := $(shell uname -r | tr '[A-Z]' '[a-z]' | tr ', /\\()"'
',//////' | tr ',/' ',-')
BUILD_M_ARCH := $(shell uname -m | tr '[A-Z]' '[a-z]' | tr ', /\\()"'
',//////' | tr ',/' ',-')
ifeq ($(OSNAME),hp-ux)