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