Ferreira Yohann ha scritto:

> Sorry for having been late to answer your mail. 

I'm sorry too, for my even more late answer...

> I've searched the debian reference and I didn't find out how to put conditions
> in the Build-Depends: field of debian/control.
> 
> Build-Depends: libgl1-mesa-dev | xlibmesa-gl-dev
> doesn't work, for instance. 
I added that dependency, and I was able to regenerate the package with
dpkg-buildpackage -nc

I've attacched a patch with the modification I did to the debian/control
file.

Regards,
-- 
Luigi
--- guichan-0.4.0_orig/debian/control   2006-03-29 23:12:49.000000000 +0200
+++ guichan-0.4.0/debian/control        2006-04-01 15:38:33.000000000 +0200
@@ -1,7 +1,7 @@
 Source: guichan
 Priority: optional
 Maintainer: FERREIRA Yohann <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), liballegro-dev (>= 4.1), libsdl1.2-dev 
(>= 1.2.7), libsdl-image1.2-dev (>= 1.2.4-1), xlibmesa-gl-dev 
(>=4.3.0.dfsg.1-10)
+Build-Depends: debhelper (>= 4.0.0), liballegro-dev (>= 4.1), libsdl1.2-dev 
(>= 1.2.7), libsdl-image1.2-dev (>= 1.2.4-1), xlibmesa-gl-dev 
(>=4.3.0.dfsg.1-10) | libgl1-mesa-dev
 Standards-Version: 3.6.2
 Section: libs
 
@@ -30,7 +30,7 @@
 Package: libguichan0-dev
 Section: libdevel
 Architecture: any
-Depends: libguichan0 (= ${Source-Version}), liballegro-dev (>= 4.1), 
libsdl1.2-dev (>= 1.2.7), libsdl-image1.2-dev (>= 1.2.4-1), xlibmesa-gl-dev 
(>=4.3.0.dfsg.1-10)
+Depends: libguichan0 (= ${Source-Version}), liballegro-dev (>= 4.1), 
libsdl1.2-dev (>= 1.2.7), libsdl-image1.2-dev (>= 1.2.4-1), xlibmesa-gl-dev 
(>=4.3.0.dfsg.1-10) | libgl1-mesa-dev
 Description: Guichan is a small, efficient C++ GUI library
  designed for games. It comes with a standard set of widgets
  and can use several different objects

Reply via email to