pg_config fixes - Mailing list pgsql-patches

From Euler Taveira de Oliveira
Subject pg_config fixes
Date
Msg-id 20041006041336.12894.qmail@web52604.mail.yahoo.com
Whole thread Raw
Responses Re: pg_config fixes  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Hi,

This simple patch fixes a typo, ensure pg_config is removed in win32
and correct some splitted message mistake.

Please apply.

PS> I'll send the translated file soon.


=====
Euler Taveira de Oliveira
euler[at]yahoo_com_br





_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/***
./src/bin/pg_config/Makefile.orig   2004-10-05 15:10:04.000000000 -0300 
--- ./src/bin/pg_config/Makefile    2004-10-05 15:11:48.000000000 -0300
***************
*** 1,6 ****
  #-------------------------------------------------------------------------
  #
! # Makefile for src/bin/pg_controldata
  #
  # Copyright (c) 1998-2002, PostgreSQL Global Development Group
  #
--- 1,6 ----
  #-------------------------------------------------------------------------
  #
! # Makefile for src/bin/pg_config
  #
  # Copyright (c) 1998-2002, PostgreSQL Global Development Group
  #
***************
*** 28,34 ****
      $(mkinstalldirs) $(DESTDIR)$(bindir)

  uninstall:
!     rm -f $(DESTDIR)$(bindir)/pg_config

  clean distclean maintainer-clean:
      rm -f pg_config$(X) $(OBJS)
--- 28,34 ----
      $(mkinstalldirs) $(DESTDIR)$(bindir)

  uninstall:
!     rm -f $(DESTDIR)$(bindir)/pg_config$(X)

  clean distclean maintainer-clean:
      rm -f pg_config$(X) $(OBJS)
*** ./src/bin/pg_config/pg_config.c.orig    2004-10-05 15:32:13.000000000 -0300
--- ./src/bin/pg_config/pg_config.c    2004-10-05 15:32:18.000000000 -0300
***************
*** 38,51 ****
      printf(_("  %s OPTION...\n\n"), progname);
      printf(_("Options:\n"));
      printf(_("  --bindir              show location of user executables\n"));
!     printf(_("  --includedir          show location of C header files of the client\n"));
!     printf(_("                        interfaces\n"));
      printf(_("  --includedir-server   show location of C header files for the server\n"));
      printf(_("  --libdir              show location of object code libraries\n"));
      printf(_("  --pkglibdir           show location of dynamically loadable modules\n"));
      printf(_("  --pgxs                show location of extension makefile\n"));
!     printf(_("  --configure           show options given to 'configure' script when\n"));
!     printf(_("                        PostgreSQL was built\n"));
      printf(_("  --version             show the PostgreSQL version, then exit\n"));
      printf(_("  --help                show this help, then exit\n\n"));
      printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));
--- 38,51 ----
      printf(_("  %s OPTION...\n\n"), progname);
      printf(_("Options:\n"));
      printf(_("  --bindir              show location of user executables\n"));
!     printf(_("  --includedir          show location of C header files of the client\n"
!          "                        interfaces\n"));
      printf(_("  --includedir-server   show location of C header files for the server\n"));
      printf(_("  --libdir              show location of object code libraries\n"));
      printf(_("  --pkglibdir           show location of dynamically loadable modules\n"));
      printf(_("  --pgxs                show location of extension makefile\n"));
!     printf(_("  --configure           show options given to 'configure' script when\n"
!          "                        PostgreSQL was built\n"));
      printf(_("  --version             show the PostgreSQL version, then exit\n"));
      printf(_("  --help                show this help, then exit\n\n"));
      printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Support LDFLAGS_SL on most ports
Next
From: Tom Lane
Date:
Subject: Re: Support LDFLAGS_SL on most ports