Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/libpq/files: libpq-8.3.1-gentoo.patch
Date: Wed, 26 Mar 2008 14:02:52
Message-Id: E1JeWDK-0003oH-Jt@stork.gentoo.org
1 caleb 08/03/26 14:02:50
2
3 Added: libpq-8.3.1-gentoo.patch
4 Log:
5 Add libpq from 206725
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 dev-db/libpq/files/libpq-8.3.1-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/files/libpq-8.3.1-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/files/libpq-8.3.1-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: libpq-8.3.1-gentoo.patch
15 ===================================================================
16 --- postgresql-8.3RC1.orig/src/interfaces/libpq/Makefile 2006-12-28 01:01:12.000000000 +0100
17 +++ postgresql-8.3RC1/src/interfaces/libpq/Makefile 2007-03-29 10:24:27.000000000 +0200
18 @@ -20,6 +20,8 @@
19 SO_MINOR_VERSION= 0
20 DLTYPE= library
21
22 +NAME_STATIC_LIB= $(NAME)-$(SO_MAJOR_VERSION)
23 +
24 override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
25 ifneq ($(PORTNAME), win32)
26 override CFLAGS += $(PTHREAD_CFLAGS)
27 @@ -160,7 +162,7 @@
28 $(INSTALL_DATA) $(srcdir)/libpq-fe.h '$(DESTDIR)$(includedir)'
29 $(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
30 $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
31 - $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
32 + $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service-$(SO_MAJOR_VERSION).conf.sample'
33
34 installdirs:
35 $(mkinstalldirs) '$(DESTDIR)$(libdir)' '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
36 --- postgresql-8.3RC1.orig/src/interfaces/libpq/nls.mk 2005-01-14 09:57:06.000000000 +0100
37 +++ postgresql-8.3RC1/src/interfaces/libpq/nls.mk 2007-03-29 10:24:55.000000000 +0200
38 @@ -1,5 +1,5 @@
39 # $PostgreSQL: pgsql/src/interfaces/libpq/nls.mk,v 1.21 2007/10/27 00:13:43 petere Exp $
40 -CATALOG_NAME := libpq
41 +CATALOG_NAME := libpq-4
42 AVAIL_LANGUAGES := af cs de es fr hr it ko nb pl pt_BR ru sk sl sv ta tr zh_CN zh_TW
43 GETTEXT_FILES := fe-auth.c fe-connect.c fe-exec.c fe-lobj.c fe-misc.c fe-protocol2.c fe-protocol3.c fe-secure.c
44 GETTEXT_TRIGGERS:= libpq_gettext pqInternalNotice:2
45 --- postgresql-8.3RC1.orig/src/Makefile.shlib 2006-09-19 17:36:07.000000000 +0200
46 +++ postgresql-8.3RC1/src/Makefile.shlib 2007-03-29 10:28:42.000000000 +0200
47 @@ -346,10 +346,10 @@
48 install-lib: install-lib-static install-lib-shared
49
50 install-lib-static: lib$(NAME).a
51 - $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME).a'
52 + $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME_STATIC_LIB).a'
53 ifeq ($(PORTNAME), darwin)
54 cd '$(DESTDIR)$(libdir)' && \
55 - ranlib lib$(NAME).a
56 + ranlib lib$(NAME_STATIC_LIB).a
57 endif
58
59 ifeq ($(enable_shared), yes)
60
61
62
63
64 --
65 gentoo-commits@l.g.o mailing list