Обсуждение: Makefile Patch

Поиск
Список
Период
Сортировка

Makefile Patch

От
Brian P Millett
Дата:
To get the latest cvs snapshot (19990520) to be installed, I had to make
the following patch to the src/interfaces/Makefile

vlad: diff -w3c ../../pgsql.old/src/interfaces/Makefile
interfaces/Makefile
*** ../../pgsql.old/src/interfaces/Makefile     Thu May 13 16:52:12 1999

--- interfaces/Makefile Mon May 10 12:01:25 1999
***************
*** 52,58 ****       $(MAKE) -C perl5 clean       cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
$(MAKE)-C perl5 all
 
!       @if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ];
then \               $(MAKE) $(MFLAGS) -C perl5 install; \               rm -f perl5/Makefile; \       else \
--- 52,58 ----       $(MAKE) -C perl5 clean       cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
$(MAKE)-C perl5 all
 
!       @if [ -w `sed -n -e 's/^ *INSTALLSITELIBEXP *= *//p'
perl5/Makefile` ]; then \               $(MAKE) $(MFLAGS) -C perl5 install; \               rm -f perl5/Makefile; \
 else \
 


--
Brian Millett
Enterprise Consulting Group     "Heaven can not exist,
(314) 205-9030                     If the family is not eternal"
bpm@ec-group.com                   F. Ballard Washburn





Re: [HACKERS] Makefile Patch

От
Bruce Momjian
Дата:
But I applied this a few weeks ago, and my copy has it.  Are you sure
you are updated?


> To get the latest cvs snapshot (19990520) to be installed, I had to make
> the following patch to the src/interfaces/Makefile
> 
> vlad: diff -w3c ../../pgsql.old/src/interfaces/Makefile
> interfaces/Makefile
> *** ../../pgsql.old/src/interfaces/Makefile     Thu May 13 16:52:12 1999
> 
> --- interfaces/Makefile Mon May 10 12:01:25 1999
> ***************
> *** 52,58 ****
>         $(MAKE) -C perl5 clean
>         cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
>         $(MAKE) -C perl5 all
> !       @if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ];
> then \
>                 $(MAKE) $(MFLAGS) -C perl5 install; \
>                 rm -f perl5/Makefile; \
>         else \
> --- 52,58 ----
>         $(MAKE) -C perl5 clean
>         cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
>         $(MAKE) -C perl5 all
> !       @if [ -w `sed -n -e 's/^ *INSTALLSITELIBEXP *= *//p'
> perl5/Makefile` ]; then \
>                 $(MAKE) $(MFLAGS) -C perl5 install; \
>                 rm -f perl5/Makefile; \
>         else \
> 
> 
> --
> Brian Millett
> Enterprise Consulting Group     "Heaven can not exist,
> (314) 205-9030                     If the family is not eternal"
> bpm@ec-group.com                   F. Ballard Washburn
> 
> 
> 
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026