/[gentoo-alt]/trunk/prefix-overlay/dev-db/libpq/files/libpq-8.1.0-gentoo.patch
Gentoo

Contents of /trunk/prefix-overlay/dev-db/libpq/files/libpq-8.1.0-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 889 - (show annotations) (download)
Wed Nov 23 17:45:11 2005 UTC (8 years, 10 months ago) by kito
File size: 2400 byte(s)
postgresql-8.1.0 initial import.
1 diff -Naru postgresql-8.1.0.org/src/Makefile.shlib postgresql-8.1.0/src/Makefile.shlib
2 --- postgresql-8.1.0.org/src/Makefile.shlib 2005-11-12 20:26:09.000000000 +0000
3 +++ postgresql-8.1.0/src/Makefile.shlib 2005-11-12 20:28:28.000000000 +0000
4 @@ -363,10 +363,10 @@
5 install-lib: install-lib-static install-lib-shared
6
7 install-lib-static: lib$(NAME).a
8 - $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a
9 + $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME_STATIC_LIB).a
10 ifeq ($(PORTNAME), darwin)
11 cd $(DESTDIR)$(libdir) && \
12 - ranlib lib$(NAME).a
13 + ranlib lib$(NAME_STATIC_LIB).a
14 endif
15
16 ifeq ($(enable_shared), yes)
17 diff -Naru postgresql-8.1.0.org/src/interfaces/libpq/Makefile postgresql-8.1.0/src/interfaces/libpq/Makefile
18 --- postgresql-8.1.0.org/src/interfaces/libpq/Makefile 2005-11-12 20:26:09.000000000 +0000
19 +++ postgresql-8.1.0/src/interfaces/libpq/Makefile 2005-11-12 20:28:02.000000000 +0000
20 @@ -20,6 +20,8 @@
21 SO_MINOR_VERSION= 1
22 DLTYPE= library
23
24 +NAME_STATIC_LIB= pq-$(SO_MAJOR_VERSION)
25 +
26 override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
27 ifneq ($(PORTNAME), win32)
28 override CFLAGS += $(PTHREAD_CFLAGS)
29 @@ -135,7 +137,7 @@
30 $(INSTALL_DATA) $(srcdir)/libpq-fe.h $(DESTDIR)$(includedir)
31 $(INSTALL_DATA) $(srcdir)/libpq-int.h $(DESTDIR)$(includedir_internal)
32 $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h $(DESTDIR)$(includedir_internal)
33 - $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service.conf.sample
34 + $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service-${SO_MAJOR_VERSION}.conf.sample
35
36 installdirs:
37 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir_internal)
38 diff -Naru postgresql-8.1.0.org/src/interfaces/libpq/nls.mk postgresql-8.1.0/src/interfaces/libpq/nls.mk
39 --- postgresql-8.1.0.org/src/interfaces/libpq/nls.mk 2005-11-12 20:26:09.000000000 +0000
40 +++ postgresql-8.1.0/src/interfaces/libpq/nls.mk 2005-11-12 20:28:02.000000000 +0000
41 @@ -1,5 +1,5 @@
42 # $PostgreSQL: pgsql/src/interfaces/libpq/nls.mk,v 1.20 2005/01/14 08:57:06 petere Exp $
43 -CATALOG_NAME := libpq
44 +CATALOG_NAME := libpq-4
45 AVAIL_LANGUAGES := af cs de es fr hr it ko nb pl pt_BR ru sk sl sv tr zh_CN zh_TW
46 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
47 GETTEXT_TRIGGERS:= libpq_gettext pqInternalNotice:2

  ViewVC Help
Powered by ViewVC 1.1.20