> Am Dienstag, 17. August 2004 14:26 schrieb Fabien COELHO:
> > The patch adds missing the "libpgport.a" file to the installation under
> > "install-all-headers". It is needed by some contribs. I install the
> > library in "pkglibdir", but I was wondering whether it should be "libdir"?
>
> Yes it should.  Please change it.

Dear Peter, dear patchers,

Please find attached a small patch against current CVS head that fixes
pgport library installation so that it goes to libdir instead of
pkglibdir. It works for me.

Have a nice day,

-- 
Fabien Coelho - [EMAIL PROTECTED]
*** ./src/Makefile.global.in.orig       Mon Aug 23 09:15:09 2004
--- ./src/Makefile.global.in    Tue Aug 24 15:21:17 2004
***************
*** 360,366 ****
  LIBS := -lpgport $(LIBS)
  ifdef PGXS
  # where libpgport.a is installed
! LDFLAGS := -L$(pkglibdir) $(LDFLAGS)
  else
  LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
  endif
--- 360,366 ----
  LIBS := -lpgport $(LIBS)
  ifdef PGXS
  # where libpgport.a is installed
! LDFLAGS := -L$(libdir) $(LDFLAGS)
  else
  LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
  endif
*** ./src/port/Makefile.orig    Mon Aug 23 09:15:10 2004
--- ./src/port/Makefile Tue Aug 24 15:18:08 2004
***************
*** 22,31 ****
  
  # libpgport is needed by some contrib
  install-all-headers: 
!       $(INSTALL_STLIB) libpgport.a $(DESTDIR)$(pkglibdir)
  
  uninstall:
!       $(RM) $(DESTDIR)$(pkglibdir)/libpgport.a
  
  libpgport.a: $(LIBOBJS)
        $(AR) $(AROPT) $@ $^
--- 22,31 ----
  
  # libpgport is needed by some contrib
  install-all-headers: 
!       $(INSTALL_STLIB) libpgport.a $(DESTDIR)$(libdir)
  
  uninstall:
!       $(RM) $(DESTDIR)$(libdir)/libpgport.a
  
  libpgport.a: $(LIBOBJS)
        $(AR) $(AROPT) $@ $^
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to