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

Sun, 27 May 2001 17:17:06 -0500
Larry Rosenman <ler@lerctr.org>
/contrib/earthdistance/Makefile patch
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, Pennsylvania 19026

Sun, 27 May 2001 20:15:09 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: /contrib/earthdistance/Makefile patch

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, Pennsylvania 19026

Wed, 30 May 2001 08:58:44 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: /contrib/earthdistance/Makefile patch