tags 452080 + patch
thanks

The attached patch fixes the problems which seems to be caused by "make
install" in the install-indep target in debian/rules installing the
Error.pm module *again*, after it was removed when being installed in
the install-arch target. (No idea why it ends up in "debian/git-core/"
when DESTDIR is set to "debian/tmp/"?!)

Please carefully examine the patch to make sure it's actually correct.
All I've done is to verify that it works for me.

-- 
Regards,
Andreas Henriksson
diff -uri git-core-1.5.3.6/debian/rules git-core-1.5.3.6-fixed/debian/rules
--- git-core-1.5.3.6/debian/rules	2007-11-20 18:59:29.000000000 +0000
+++ git-core-1.5.3.6-fixed/debian/rules	2007-11-20 19:00:00.000000000 +0000
@@ -120,6 +120,8 @@
 	install -d -m0755 '$(TMP)'
 	DESTDIR='$(TMP)' $(MAKE) install install-doc \
 	  CC='$(CC)' CFLAGS='$(CFLAGS)' $(OPTS)
+	rm -f '$(GIT)'-core/usr/share/perl5/Error.pm
+	rm -f '$(GIT)'-core/usr/share/man/man3/private-Error.3pm
 	$(MAKE) -CDocumentation install-webdoc WEBDOC_DEST='$(TMP)'/html \
 	  2>/dev/null
 	# git-doc

Reply via email to