[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Broken debian/rules CVS file



Folks,

I'm starting againt to try hack some issues in APT code and tryed to
build it but this fail. Looking at debian/rules I see the problem:

The current configure.in file, from CVS, doesn't include any
information about version and with current rules code, the
configure.in file is fucked by build target.

Bellow, I'm including a trivial patch to solve this.

Index: debian/rules
===================================================================
RCS file: /cvs/deity/apt/debian/rules,v
retrieving revision 1.55
diff -u -r1.55 rules
--- debian/rules        22 Sep 2003 14:36:20 -0000      1.55
+++ debian/rules        1 Nov 2003 20:17:23 -0000
@@ -53,7 +53,7 @@
 ifneq ($(APT_DEBVER),$(APT_CONFVER))
 .PHONY: configure.in
 configure.in:
-       sed -e 's/$(APT_CONFVER)/$(APT_DEBVER)/' $@ > $@.$$$$;mv $@.$$$$ $@
+       sed -e 's/AC_DEFINE_UNQUOTED(VERSION,"$(APT_CONFVER)"/AC_DEFINE_UNQUOTED(VERSION,"$(APT_DEBVER)"/' $@ > $@.$$$$;mv $@.$$$$ $@ else
 configure.in:
 endif

Thanks,

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------



Reply to: