* activestate perl: Makemaker generates broken Makefiles.
@ 2006-10-04 11:25 Alex Riesen
2006-10-06 4:57 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Alex Riesen @ 2006-10-04 11:25 UTC (permalink / raw)
To: Git Mailing List; +Cc: Junio C Hamano, Petr Baudis
[-- Attachment #1: Type: text/plain, Size: 132 bytes --]
Just a heads up. Makefile.PL can't be used. The attached patch removes
everything perl (sorry, but it'd help someone to get going).
[-- Attachment #2: disable-git.xs.patch --]
[-- Type: text/x-diff, Size: 1639 bytes --]
commit bb0ea66746c764f665fc2c5a0f0c289fbbc7eb03
Author: Alex Riesen <raa.lkml@gmail.com>
Date: Wed Oct 4 11:51:51 2006 +0200
remove Git.xs
diff --git a/Makefile b/Makefile
index ee3bc72..93f93e1 100644
--- a/Makefile
+++ b/Makefile
@@ -590,8 +590,7 @@ ### Build rules
all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi
-all: perl/Makefile
- $(MAKE) -C perl
+all:
$(MAKE) -C templates
strip: $(PROGRAMS) git$X
@@ -625,15 +624,11 @@ common-cmds.h: Documentation/git-*.txt
chmod +x $@+
mv $@+ $@
-$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/Makefile
$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
rm -f $@ $@+
- INSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \
sed -e '1{' \
-e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
-e ' h' \
- -e ' s=.*=use lib (split(/:/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \
- -e ' H' \
-e ' x' \
-e '}' \
-e 's|@@INSTLIBDIR@@|'"$$INSTLIBDIR"'|g' \
@@ -766,10 +761,6 @@ XDIFF_OBJS=xdiff/xdiffi.o xdiff/xprepare
rm -f $@ && $(AR) rcs $@ $(XDIFF_OBJS)
-perl/Makefile: perl/Git.pm perl/Makefile.PL GIT-CFLAGS
- (cd perl && $(PERL_PATH) Makefile.PL \
- PREFIX='$(prefix_SQ)')
-
doc:
$(MAKE) -C Documentation all
@@ -832,7 +823,6 @@ install: all
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexecdir_SQ)'
$(INSTALL) git$X gitk '$(DESTDIR_SQ)$(bindir_SQ)'
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
- $(MAKE) -C perl install
$(INSTALL) -d -m755 '$(DESTDIR_SQ)$(GIT_PYTHON_DIR_SQ)'
$(INSTALL) $(PYMODULES) '$(DESTDIR_SQ)$(GIT_PYTHON_DIR_SQ)'
if test 'z$(bindir_SQ)' != 'z$(gitexecdir_SQ)'; \
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: activestate perl: Makemaker generates broken Makefiles.
2006-10-04 11:25 activestate perl: Makemaker generates broken Makefiles Alex Riesen
@ 2006-10-06 4:57 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-10-06 4:57 UTC (permalink / raw)
To: Alex Riesen; +Cc: Git Mailing List, Petr Baudis
"Alex Riesen" <raa.lkml@gmail.com> writes:
> Just a heads up. Makefile.PL can't be used. The attached patch removes
> everything perl (sorry, but it'd help someone to get going).
Since we do not have Git.xs anymore, wouldn't it be possible for
us to remove perl/Makefile.PL and have our own perl/Makefile
which does:
* install Git.pm to $(prefix)/share/git-core/perl (aka GIT_PERL_DIR)
* see if Error.pm is available on the system, and if not install
private-Error.pm as Error.pm
to make everybody happy???
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-06 4:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04 11:25 activestate perl: Makemaker generates broken Makefiles Alex Riesen
2006-10-06 4:57 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox