add new flash map driver, some minor system code cleanup
[openwrt.git] / openwrt / package / postgresql / patches / 102-debian-30libpq
1 diff -ruN postgresql-7.4.7-old/src/interfaces/libpq/Makefile postgresql-7.4.7/src/interfaces/libpq/Makefile
2 --- postgresql-7.4.7-old/src/interfaces/libpq/Makefile 2003-08-23 05:21:59.000000000 +0100
3 +++ postgresql-7.4.7/src/interfaces/libpq/Makefile 2003-08-29 18:35:25.000000000 +0100
4 @@ -32,7 +32,7 @@
5 SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(THREAD_LIBS)
6
7
8 -all: all-lib
9 +all: all-lib libpq3-config
10
11 # Shared library stuff
12 include $(top_srcdir)/src/Makefile.shlib
13 @@ -58,6 +58,8 @@
14 encnames.c wchar.c : % : $(backend_src)/utils/mb/%
15 rm -f $@ && $(LN_S) $< .
16
17 +libpq3-config:
18 + sed -e "s|%LIBRARIES%|$(SHLIB_LINK)|" <libpq3-config.in | sed "s/-L[^ ]\+ //" >libpq3-config
19
20 install: all installdirs install-lib
21 $(INSTALL_DATA) $(srcdir)/libpq-fe.h $(DESTDIR)$(includedir)
22 @@ -73,3 +75,4 @@
23
24 clean distclean maintainer-clean: clean-lib
25 rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
26 + rm -f libpq3-config
27 diff -ruN postgresql-7.4.7-old/src/interfaces/libpq/libpq3-config.in postgresql-7.4.7/src/interfaces/libpq/libpq3-config.in
28 --- postgresql-7.4.7-old/src/interfaces/libpq/libpq3-config.in 1970-01-01 01:00:00.000000000 +0100
29 +++ postgresql-7.4.7/src/interfaces/libpq/libpq3-config.in 2003-08-29 18:34:25.000000000 +0100
30 @@ -0,0 +1,3 @@
31 +#!/bin/bash
32 +
33 +echo %LIBRARIES%
This page took 0.049308 seconds and 5 git commands to generate.