Re: Commit f84871 breaks build on OS X
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Dec 7, 2006, 15:42 UTC
- Message-ID
- <81b0412b0612070742x51af6011ua96962c53158cea0@mail.gmail.com>
- In-Reply-To
- <E8038C15-B359-4DE9-B3E0-45B065AEDBFA@silverinsanity.com>
Does the attached patch help? I highly suspect the perl.mak generated by MakeMaker.
diff --git a/perl/Makefile b/perl/Makefile index bd483b0..b936e0d 100644 --- a/perl/Makefile +++ b/perl/Makefile @@ -29,6 +29,8 @@ $(makfile): ../GIT-CFLAGS Makefile echo ' echo $(instdir_SQ)' >> $@ else $(makfile): Makefile.PL ../GIT-CFLAGS + $(RM) $(makfile) + $(RM) $(makfile).old '$(PERL_PATH_SQ)' $< FIRST_MAKEFILE='$@' PREFIX='$(prefix_SQ)' endif From 5e00f865fa13a425d4395a70aaca798dfaf093dc Mon Sep 17 00:00:00 2001 From: Alex Riesen <raa.lkml@gmail.com> Date: Thu, 7 Dec 2006 16:40:06 +0100 Subject: [PATCH] workaround for MakeMaker-generated Makefiles It seems to try to mv perl.mak into perl.mak.old file without checking if .old exists first. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> diff --git a/perl/Makefile b/perl/Makefile index bd483b0..b936e0d 100644 --- a/perl/Makefile +++ b/perl/Makefile @@ -29,6 +29,8 @@ $(makfile): ../GIT-CFLAGS Makefile echo ' echo $(instdir_SQ)' >> $@ else $(makfile): Makefile.PL ../GIT-CFLAGS + $(RM) $(makfile) + $(RM) $(makfile).old '$(PERL_PATH_SQ)' $< FIRST_MAKEFILE='$@' PREFIX='$(prefix_SQ)' endif