Skip site navigation (1) Skip section navigation (2)

/contrib/earthdistance/Makefile patch

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: /contrib/earthdistance/Makefile patch
Date: 2001-05-27 22:17:06
Message-ID: 20010527171706.A16432@lerami.lerctr.org (view raw or flat)
Thread:
Lists: pgsql-hackers
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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-05-28 00:15:09
Subject: Re: /contrib/earthdistance/Makefile patch
Previous:From: Peter EisentrautDate: 2001-05-27 21:55:35
Subject: Re: [HACKERS] Compile Issue, current CVS/UnixWare 7.1.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group