Thread: /contrib/earthdistance/Makefile patch

/contrib/earthdistance/Makefile patch

From
Larry Rosenman
Date:
Playing with the earthdistance stuff, and found I needed the following 
patch:


Index: Makefile
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/contrib/earthdistance/Makefile,v
retrieving revision 1.8
diff -c -r1.8 Makefile
*** Makefile    2001/02/20 19:20:27    1.8
--- Makefile    2001/05/27 22:14:41
***************
*** 15,21 **** all: $(SONAME) $(NAME).sql  $(NAME).sql: $(NAME).sql.in
!     sed -e 's:MODULE_PATHNAME:$(datadir)/contrib/$(SONAME):g' < $< > $@  install: all installdirs
$(INSTALL_SHLIB)$(SONAME)    $(libdir)/contrib
 
--- 15,21 ---- all: $(SONAME) $(NAME).sql  $(NAME).sql: $(NAME).sql.in
!     sed -e 's:MODULE_PATHNAME:$(libdir)/contrib/$(SONAME):g' < $< > $@  install: all installdirs     $(INSTALL_SHLIB)
$(SONAME)   $(libdir)/contrib
 



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


Re: /contrib/earthdistance/Makefile patch

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it withing the next 48 hours.

> Playing with the earthdistance stuff, and found I needed the following 
> patch:
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/contrib/earthdistance/Makefile,v
> retrieving revision 1.8
> diff -c -r1.8 Makefile
> *** Makefile    2001/02/20 19:20:27    1.8
> --- Makefile    2001/05/27 22:14:41
> ***************
> *** 15,21 ****
>   all: $(SONAME) $(NAME).sql
>   
>   $(NAME).sql: $(NAME).sql.in
> !     sed -e 's:MODULE_PATHNAME:$(datadir)/contrib/$(SONAME):g' < $< > $@
>   
>   install: all installdirs
>       $(INSTALL_SHLIB) $(SONAME)    $(libdir)/contrib
> --- 15,21 ----
>   all: $(SONAME) $(NAME).sql
>   
>   $(NAME).sql: $(NAME).sql.in
> !     sed -e 's:MODULE_PATHNAME:$(libdir)/contrib/$(SONAME):g' < $< > $@
>   
>   install: all installdirs
>       $(INSTALL_SHLIB) $(SONAME)    $(libdir)/contrib
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

--  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,
Pennsylvania19026
 


Re: /contrib/earthdistance/Makefile patch

From
Bruce Momjian
Date:
Patch applied.  Thanks.


> Playing with the earthdistance stuff, and found I needed the following 
> patch:
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/contrib/earthdistance/Makefile,v
> retrieving revision 1.8
> diff -c -r1.8 Makefile
> *** Makefile    2001/02/20 19:20:27    1.8
> --- Makefile    2001/05/27 22:14:41
> ***************
> *** 15,21 ****
>   all: $(SONAME) $(NAME).sql
>   
>   $(NAME).sql: $(NAME).sql.in
> !     sed -e 's:MODULE_PATHNAME:$(datadir)/contrib/$(SONAME):g' < $< > $@
>   
>   install: all installdirs
>       $(INSTALL_SHLIB) $(SONAME)    $(libdir)/contrib
> --- 15,21 ----
>   all: $(SONAME) $(NAME).sql
>   
>   $(NAME).sql: $(NAME).sql.in
> !     sed -e 's:MODULE_PATHNAME:$(libdir)/contrib/$(SONAME):g' < $< > $@
>   
>   install: all installdirs
>       $(INSTALL_SHLIB) $(SONAME)    $(libdir)/contrib
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

--  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,
Pennsylvania19026