Source: gdbm Version: 1.8.3-12 Severity: wishlist Tags: patch
In the process of bootstrapping Debian, one needs to be able to build gdbm fairly early: debhelper Depends on man-db, which Build-Depends on libgdbm-dev. On the other hand, texinfo is somewhat heavier in terms of what dependencies it needs. So, the attached patch makes it possible to do a bootstrap build of gdbm without texinfo available. -- Daniel Schepler
diff -urN gdbm-1.8.3.old/debian/rules gdbm-1.8.3/debian/rules --- gdbm-1.8.3.old/debian/rules 2012-06-10 01:59:52.000000000 -0700 +++ gdbm-1.8.3/debian/rules 2013-05-25 12:11:02.606651344 -0700 @@ -54,7 +54,11 @@ echo "/* We use fcntl locking (POSIX) instead of flock (BSD) */" >> autoconf.h echo "#undef HAVE_FLOCK" >> autoconf.h CFLAGS="$(CFLAGS)" LIBS="$(LDFLAGS)" $(MAKE) +ifeq ($(DEB_BUILD_PROFILE),stage1) + touch gdbm.info +else $(MAKE) gdbm.info +endif touch build binary-indep: checkroot build

