git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] add NO_PERL_XS for environments which are not able to support perl extensions

From
Alex Riesen <raa.lkml@gmail.com>
Date
Aug 4, 2006, 14:02 UTC
Message-ID
<81b0412b0608040702l7c7676adk30b792d69c05e05f@mail.gmail.com>
In-Reply-To
<81b0412b0608040640s44c0d84et94871bce0271b047@mail.gmail.com>
On 8/4/06, Alex Riesen <raa.lkml@gmail.com> wrote:
> At the moment, the only known example of such environment is Cygwin with
> ActiveState Perl: Makefile, generated by the MakeMaker from ActiveState perl
> distribution is not usable by cygwin's gmake.
>

Damn. Please add attached patch on top of the previous one. I broke the normal, xs-supported, platforms.

diff --git a/Makefile b/Makefile
index 9cfd677..5d58eca 100644
--- a/Makefile
+++ b/Makefile
@@ -591,7 +591,9 @@ all:
 	$(MAKE) -C templates

 ifndef NO_PERL_XS
-all: perl/Makefile
+.PHONY: perl-dir
+all: perl-dir
+perl-dir: perl/Makefile
 	$(MAKE) -C perl
 endif


From ff9c9341341d88b1d3ef55141cab14db45d55cf7 Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Fri, 4 Aug 2006 15:59:11 +0200
Subject: [PATCH] fix dependencies for xs-supported platforms

Signed-off-by: Alex Riesen <ariesen@harmanbecker.com>
---
 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 9cfd677..5d58eca 100644
--- a/Makefile
+++ b/Makefile
@@ -591,7 +591,9 @@ all:
 	$(MAKE) -C templates
 
 ifndef NO_PERL_XS
-all: perl/Makefile
+.PHONY: perl-dir
+all: perl-dir
+perl-dir: perl/Makefile
 	$(MAKE) -C perl
 endif
 
-- 
1.4.2.rc2.g6534
Previous: Alex RiesenNext: Junio C Hamano
Message 2 of 4 in “add NO_PERL_XS for environments which are not able to support perl extensions”
  1. add NO_PERL_XS for environments which are not able to support perl extensionsAlex Riesen, Aug 4, 2006
  2. Alex RiesenAug 4, 2006
  3. Junio C HamanoAug 4, 2006
  4. Alex RiesenAug 8, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.