Re: Cygwin plperl patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Cygwin plperl patch
Date
Msg-id 200202232149.g1NLn0u12173@candle.pha.pa.us
Whole thread Raw
In response to Cygwin plperl patch  (Jason Tishler <jason@tishler.net>)
List pgsql-patches
Sorry, patch attached.  Applied.

---------------------------------------------------------------------------

Jason Tishler wrote:
> The attached patch enables plperl to build under Cygwin.  It is basically
> yet another BE_DLLLIBS patch with a perl MakeMaker twist.  I tried the
> patch under Red Hat 7.1 Linux too and I did not observe any ill effects.
>
> Jason

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
Index: GNUmakefile
===================================================================
RCS file: /projects/cvsroot/pgsql/src/pl/plperl/GNUmakefile,v
retrieving revision 1.8
diff -c -r1.8 GNUmakefile
*** GNUmakefile    2001/09/16 16:11:11    1.8
--- GNUmakefile    2002/02/08 12:59:29
***************
*** 14,20 ****

  Makefile: Makefile.PL
      plperl_installdir='$$(DESTDIR)$(pkglibdir)' \
!     $(PERL) $< $(makefile_pl_flags) INC='-I$(srcdir) $(filter -I%, $(CPPFLAGS))'

  install: all installdirs
      $(MAKE) -f Makefile install DESTDIR='$(DESTDIR)'
--- 14,21 ----

  Makefile: Makefile.PL
      plperl_installdir='$$(DESTDIR)$(pkglibdir)' \
!     $(PERL) $< $(makefile_pl_flags) LIBS='$(BE_DLLLIBS)' \
!     INC='-I$(srcdir) $(filter -I%, $(CPPFLAGS))'

  install: all installdirs
      $(MAKE) -f Makefile install DESTDIR='$(DESTDIR)'

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Cygwin plperl patch
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] COPY when 'filename' is a directory