Package: crystalspace
Version: 1.2-20080112-1
Severity: important
Tags: patch

crystalspace has been recently been restricted to a limited set of
architectures. This doesn't include GNU/kFreeBSD architectures, namely
kfreebsd-i386 and kfreebsd-amd64, while crystalspace is working
correctly on those architectures.

Please find a smal patch below to fix the problem. Could you please
include it in the next upload? Thanks in advance.


diff -u crystalspace-1.2-20080112/debian/rules 
crystalspace-1.2-20080112/debian/rules
--- crystalspace-1.2-20080112/debian/rules
+++ crystalspace-1.2-20080112/debian/rules
@@ -39,6 +39,9 @@
 ifeq ($(DEB_HOST_ARCH),amd64)
        CONFFLAG = --without-lib3ds --without-libode
 endif
+ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
+       CONFFLAG = --without-lib3ds --without-libode
+endif
 NEWRENDERER = --enable-new-renderer
 #PYTHON = --without-python
 CPUOPTIM = --enable-cpu-specific-optimizations=no
@@ -139,6 +142,13 @@
 ifeq ($(DEB_HOST_ARCH),powerpc)
        cd $(CURDIR)/CS; $(MAKE) all
 endif
+ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
+       cd $(CURDIR)/CS; $(MAKE) all
+endif
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+       cd $(CURDIR)/CS; $(MAKE) all
+endif
+
        # should be too something like this $(MAKE) all USE_SHARED_LIBS=yes
 
 build-indep: build-indep-stamp
@@ -208,6 +218,24 @@
 
        cd CS; DESTDIR=$(CURDIR)/debian/crystalspace-dev $(MAKE) install_include
 endif
+ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_bin 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_lib 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_plugin 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_data 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_config 
+
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace-dev $(MAKE) install_include
+endif
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_bin 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_lib 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_plugin 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_data 
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace $(MAKE) install_config 
+
+       cd CS; DESTDIR=$(CURDIR)/debian/crystalspace-dev $(MAKE) install_include
+endif
 
        # Let's fix some things
        #chmod +x 
$(CURDIR)/debian/crystalspace/usr/share/crystalspace/bindings/python/tutor*.py
diff -u crystalspace-1.2-20080112/debian/control 
crystalspace-1.2-20080112/debian/control
--- crystalspace-1.2-20080112/debian/control
+++ crystalspace-1.2-20080112/debian/control
@@ -6,7 +6,7 @@
 Standards-Version: 3.7.2.2
 
 Package: crystalspace
-Architecture: i386 amd64 powerpc
+Architecture: i386 amd64 powerpc kfreebsd-i386 kfreebsd-amd64
 Depends: ${shlibs:Depends}, ${python:Depends}
 Suggests: crystalspace-doc, crystalspace-dev
 Description: Multiplatform 3D Game Development Kit
@@ -19,8 +19,8 @@
 
 Package: crystalspace-dev
 Section: devel
-Architecture: i386 amd64 powerpc
-Depends: crystalspace (= ${Source-Version}), libc6-dev
+Architecture: i386 amd64 powerpc kfreebsd-i386 kfreebsd-amd64
+Depends: crystalspace (= ${Source-Version}), libc6-dev | libc0.1-dev
 Description: Multiplatform 3D Game Development Kit dev files
  Crystal Space is a free 3D game toolkit. It can be used for a variety
  of 3D visualization tasks. Many people will probably be interested in using

-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 6.2-1-em64t-p4
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to