On Monday 01 December 2008 05:48:08 am Mert Dirik wrote: > Andres Mejia yazmış: > > tags 464491 + patch > > thanks > > > > The previous patch fails to apply cleanly. Attached is a new patch to > > resolve this issue. > > Actually previous patch was causing serious problems so it wasn't applied > and I guess this new patch has same problems. (You could look it at > upstream report bug it gives 404 error.) I don't have a time to create a > new patch but I have a tip for you: The shell script files doesn't have > shebang lines, the makefile adds them to scripts; so, change the makefiles > to add "#! /bin/bash" instead of "#! /bin/sh"
Looks like upstream intended to use bash anyway, hence the use of $(BASH) in the Makefile.am files. Attached is another patch to will change debian/rules to call autotools to regenerate all autotool files. This will ensure the necessary files all have the proper sheband lines. -- Regards, Andres
--- apertium-3.0.7+1.old/debian/rules 2008-12-01 01:12:29.000000000 -0500 +++ apertium-3.0.7+1/debian/rules 2008-12-01 14:09:34.000000000 -0500 @@ -31,10 +31,14 @@ config.status: configure dh_testdir # Add here commands to configure the package. - autoconf + # Modified bootstrapping from upstream, declares everything obsolete. + libtoolize --force --copy + aclocal $(ACLOCAL_FLAGS) + autoheader -f + automake --include-deps --add-missing -f --gnu --copy + autoconf -f CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info - build: build-stamp build-stamp: config.status dh_testdir
signature.asc
Description: This is a digitally signed message part.