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

Re: [PATCH] fixes for ActiveState Perl

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Feb 14, 2011, 19:48 UTC
Message-ID
<AANLkTimb2puTjj=DDqJcshwSVgqebhS9__jHoY1KdO_7@mail.gmail.com>
In-Reply-To
<4D5984DD.1030004@io.com>
On Mon, Feb 14, 2011 at 8:39 PM, Rafael Kitover <rkitover@io.com> wrote:
Show 36 quoted lines
> On 2/14/2011 7:49 AM, Erik Faye-Lund wrote:
> ...
>>> diff --git a/perl/Makefile b/perl/Makefile
>>> index a2ffb64..1fa99cd 100644
>>> --- a/perl/Makefile
>>> +++ b/perl/Makefile
>>> @@ -3,18 +3,28 @@
>>>  #
>>>  makfile:=perl.mak
>>>
>>> +# support PERL_PATH=C:\\Perl\\bin\\perl
>>> +PERL_PATH := $(subst \,\\,$(PERL_PATH))
>>> +
>>>  PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
>>> +PERL_MAKE := MAKEFLAGS="" $(subst \,\\,$(shell $(subst \,\\,$(PERL_PATH)) -MConfig -le "print ((\%Config)->{make})"))
>>> +
>>> +ifneq (,$(findstring nmake,$(PERL_MAKE)))
>>> +       PERL_MAKE := $(PERL_MAKE) -nologo
>>> +endif
>>> +
>>>  prefix_SQ = $(subst ','\'',$(prefix))
>>>
>>>  ifndef V
>>>        QUIET = @
>>>  endif
>>>
>>> +
>>
>> Why?
>
> Windows perl (activestate, strawberry) uses nmake or dmake. The
> makefiles for these makes are incompatible with GNU make. This code
> retrieves the make Perl would use from its Config, and uses that on
> invoking perl.mak .
>
> This should also allow for using EU::MM for the MSVC+ActiveState build.

I'm sorry for not being clear; I was talking about that single new-line, not the PERL_MAKE-stuff.

Previous: Rafael KitoverNext: Rafael Kitover
Message 4 of 9 in “fixes for ActiveState Perl”
  1. fixes for ActiveState PerlRafael Kitover, Feb 14, 2011
  2. Erik Faye-LundFeb 14, 2011
  3. Rafael KitoverFeb 14, 2011
  4. Erik Faye-LundFeb 14, 2011
  5. Rafael KitoverFeb 15, 2011
  6. Rafael KitoverFeb 17, 2011
  7. Sverre RabbelierFeb 20, 2011
  8. Rafael KitoverFeb 23, 2011
  9. Ævar Arnfjörð BjarmasonFeb 14, 2011

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.