Package: cdbs
Version: 0.4.37
Followup-For: Bug #359887

Hi,

OK, I can see that back-porting might be unsuitable.

I also see that generating control.in from rules in a bad idea, but I
really like my Makefiles that build packages being able to
automagically fill in dependencies that CDBS needs.

How about something like the follow, where you allow a flag for a
minimal version?

Thanks,

-i

diff -u cdbs-0.4.37-orig/1/rules/buildvars.mk.in 
cdbs-0.4.37/1/rules/buildvars.mk.in
--- cdbs-0.4.37-orig/1/rules/buildvars.mk.in    2006-03-18 19:31:57.000000000 
+1100
+++ cdbs-0.4.37/1/rules/buildvars.mk.in 2006-04-02 21:37:36.000000000 +1000
@@ -76,8 +76,12 @@
        DEB_DESTDIR = $(CURDIR)/debian/tmp/
 endif
 
+ifeq (, $(DEB_AUTO_UPDATE_CDBS_MIN_VER))
+       DEB_AUTO_UPDATE_CDBS_MIN_VER = 0.4.23-1.1
+endif
+
 ifeq ($(_cdbs_bootstrap), )
-CDBS_BUILD_DEPENDS     := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.23-1.1)
+CDBS_BUILD_DEPENDS     := $(CDBS_BUILD_DEPENDS), cdbs (>= 
$(DEB_AUTO_UPDATE_CDBS_MIN_VER))
 endif
 
 endif
--- cdbs-0.4.37-orig/doc/cdbs-doc.xml   2006-03-24 18:39:07.000000000 +1100
+++ cdbs-0.4.37/doc/cdbs-doc.xml        2006-04-02 21:53:53.000000000 +1000
@@ -1722,6 +1722,15 @@
           (re)generate <filename>debian/control</filename>.</para>
         </step>
       </procedure>
+
+      <para>If you are utlising features of a particuarly recent
+      version of CDBS, you may wish to explicitly override the default
+      minimum version as per below:
+<programlisting>
+DEB_AUTO_UPDATE_CDBS_MIN_VER := X.Y.Z
+</programlisting>
+</para>
+
     </sect1>
   </chapter>
 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20060223.1 Update infrastructure for config.{
ii  debhelper                     5.0.26     helper programs for debian/rules

-- no debconf information


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

Reply via email to