diff options
Diffstat (limited to 'databases/postgresql82/patches')
-rw-r--r-- | databases/postgresql82/patches/patch-aa | 14 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ab | 23 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ac | 15 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ad | 79 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ae | 45 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-af | 30 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ag | 15 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ah | 13 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ai | 80 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-aj | 30 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-ak | 30 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-al | 29 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-am | 39 | ||||
-rw-r--r-- | databases/postgresql82/patches/patch-an | 13 |
14 files changed, 455 insertions, 0 deletions
diff --git a/databases/postgresql82/patches/patch-aa b/databases/postgresql82/patches/patch-aa new file mode 100644 index 00000000000..f50877d2737 --- /dev/null +++ b/databases/postgresql82/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- config/perl.m4.orig 2003-11-30 04:51:17.000000000 +0900 ++++ config/perl.m4 +@@ -28,8 +28,6 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS], + AC_DEFUN([PGAC_CHECK_PERL_EMBED_LDFLAGS], + [AC_REQUIRE([PGAC_PATH_PERL]) + AC_MSG_CHECKING(for flags to link embedded Perl) +-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` +-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` +-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` ++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` + AC_SUBST(perl_embed_ldflags)dnl + AC_MSG_RESULT([$perl_embed_ldflags])]) diff --git a/databases/postgresql82/patches/patch-ab b/databases/postgresql82/patches/patch-ab new file mode 100644 index 00000000000..4b781eab3cc --- /dev/null +++ b/databases/postgresql82/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- configure.orig 2006-12-02 09:36:39.000000000 +0100 ++++ configure +@@ -1504,6 +1504,7 @@ case $host_os in + darwin*) template=darwin ;; + dgux*) template=dgux ;; + freebsd*) template=freebsd ;; ++ dragonfly*) template=dragonfly ;; + hpux*) template=hpux ;; + irix*) template=irix ;; + linux*|gnu*|k*bsd*-gnu) +@@ -4899,9 +4900,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 + + echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5 + echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6 +-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` +-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` +-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` ++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` + echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5 + echo "${ECHO_T}$perl_embed_ldflags" >&6 + fi diff --git a/databases/postgresql82/patches/patch-ac b/databases/postgresql82/patches/patch-ac new file mode 100644 index 00000000000..e64abac7451 --- /dev/null +++ b/databases/postgresql82/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/backend/Makefile.orig 2005-10-28 05:45:29.000000000 +0900 ++++ src/backend/Makefile +@@ -13,6 +13,10 @@ subdir = src/backend + top_builddir = ../.. + include $(top_builddir)/src/Makefile.global + ++CFLAGS+= $(DL_CFLAGS) ++LDFLAGS+= $(DL_LDFLAGS) ++LIBS+= $(DL_LIBS) ++ + DIRS := access bootstrap catalog parser commands executor lib libpq \ + main nodes optimizer port postmaster regex rewrite \ + storage tcop utils $(top_builddir)/src/timezone diff --git a/databases/postgresql82/patches/patch-ad b/databases/postgresql82/patches/patch-ad new file mode 100644 index 00000000000..f44ecac0695 --- /dev/null +++ b/databases/postgresql82/patches/patch-ad @@ -0,0 +1,79 @@ +$NetBSD: patch-ad,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/backend/port/dynloader/netbsd.c.orig 2006-03-11 05:38:31.000000000 +0100 ++++ src/backend/port/dynloader/netbsd.c +@@ -46,65 +46,30 @@ static char sccsid[] = "@(#)dl.c 5.4 (Be + + #include "dynloader.h" + +-static char error_message[BUFSIZ]; ++#ifndef HAVE_DLOPEN + + char * +-BSD44_derived_dlerror(void) ++pg_dlerror(void) + { +- static char ret[BUFSIZ]; +- +- strcpy(ret, error_message); +- error_message[0] = 0; +- return (ret[0] == 0) ? NULL : ret; ++ return "dynaloader unsupported"; + } + + void * +-BSD44_derived_dlopen(const char *file, int num) ++pg_dlopen(const char *file, int num) + { +-#if defined(__mips__) +- snprintf(error_message, sizeof(error_message), +- "dlopen (%s) not supported", file); ++ elog(ERROR, "dynamic load not supported"); + return NULL; +-#else +- void *vp; +- +- if ((vp = dlopen((char *) file, num)) == NULL) +- snprintf(error_message, sizeof(error_message), +- "dlopen (%s) failed: %s", file, dlerror()); +- return vp; +-#endif + } + + void * +-BSD44_derived_dlsym(void *handle, const char *name) ++pg_dlsym(void *handle, const char *name) + { +-#if defined(__mips__) +- snprintf(error_message, sizeof(error_message), +- "dlsym (%s) failed", name); + return NULL; +-#elif defined(__ELF__) +- return dlsym(handle, name); +-#else +- void *vp; +- char buf[BUFSIZ]; +- +- if (*name != '_') +- { +- snprintf(buf, sizeof(buf), "_%s", name); +- name = buf; +- } +- if ((vp = dlsym(handle, (char *) name)) == NULL) +- snprintf(error_message, sizeof(error_message), +- "dlsym (%s) failed", name); +- return vp; +-#endif + } + + void +-BSD44_derived_dlclose(void *handle) ++pg_dlclose(void *handle) + { +-#if defined(__mips__) +-#else +- dlclose(handle); +-#endif + } ++ ++#endif /* ! HAVE_DLOPEN */ diff --git a/databases/postgresql82/patches/patch-ae b/databases/postgresql82/patches/patch-ae new file mode 100644 index 00000000000..5c0bb2f65d4 --- /dev/null +++ b/databases/postgresql82/patches/patch-ae @@ -0,0 +1,45 @@ +$NetBSD: patch-ae,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/backend/port/dynloader/netbsd.h.orig 2005-01-01 07:00:32.000000000 +0900 ++++ src/backend/port/dynloader/netbsd.h +@@ -21,19 +21,7 @@ + + #include "utils/dynamic_loader.h" + +-/* +- * Dynamic Loader on NetBSD 1.0. +- * +- * this dynamic loader uses the system dynamic loading interface for shared +- * libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared +- * library as the file to be dynamically loaded. +- * +- * agc - I know this is all a bit crufty, but it does work, is fairly +- * portable, and works (the stipulation that the d.l. function must +- * begin with an underscore is fairly tricky, and some versions of +- * NetBSD (like 1.0, and 1.0A pre June 1995) have no dlerror.) +- */ +- ++#ifdef HAVE_DLOPEN + /* + * In some older systems, the RTLD_NOW flag isn't defined and the mode + * argument to dlopen must always be 1. The RTLD_GLOBAL flag is wanted +@@ -47,14 +35,11 @@ + #define RTLD_GLOBAL 0 + #endif + +-#define pg_dlopen(f) BSD44_derived_dlopen((f), RTLD_NOW | RTLD_GLOBAL) +-#define pg_dlsym BSD44_derived_dlsym +-#define pg_dlclose BSD44_derived_dlclose +-#define pg_dlerror BSD44_derived_dlerror ++#define pg_dlopen(f) dlopen((f), RTLD_NOW | RTLD_GLOBAL) ++#define pg_dlsym dlsym ++#define pg_dlclose dlclose ++#define pg_dlerror dlerror + +-char *BSD44_derived_dlerror(void); +-void *BSD44_derived_dlopen(const char *filename, int num); +-void *BSD44_derived_dlsym(void *handle, const char *name); +-void BSD44_derived_dlclose(void *handle); ++#endif /* HAVE_DLOPEN */ + + #endif /* PORT_PROTOS_H */ diff --git a/databases/postgresql82/patches/patch-af b/databases/postgresql82/patches/patch-af new file mode 100644 index 00000000000..7a40cc9c0ee --- /dev/null +++ b/databases/postgresql82/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/timezone/localtime.c.orig 2005-10-15 11:49:51.000000000 +0900 ++++ src/timezone/localtime.c +@@ -77,18 +77,18 @@ struct rule + + static long detzcode(const char *codep); + static const char *getzname(const char *strp); +-static const char *getnum(const char *strp, int *nump, int min, int max); ++static const char *getnum(const char *strp, int *nump, const int min, const int max); + static const char *getsecs(const char *strp, long *secsp); + static const char *getoffset(const char *strp, long *offsetp); + static const char *getrule(const char *strp, struct rule * rulep); + static void gmtload(struct state * sp); +-static void gmtsub(const pg_time_t *timep, long offset, struct pg_tm * tmp); +-static void localsub(const pg_time_t *timep, long offset, struct pg_tm * tmp, const pg_tz *tz); +-static void timesub(const pg_time_t *timep, long offset, ++static void gmtsub(const pg_time_t *timep, const long offset, struct pg_tm * tmp); ++static void localsub(const pg_time_t *timep, const long offset, struct pg_tm * tmp, const pg_tz *tz); ++static void timesub(const pg_time_t *timep, const long offset, + const struct state * sp, struct pg_tm * tmp); +-static pg_time_t transtime(pg_time_t janfirst, int year, +- const struct rule * rulep, long offset); +-int tzparse(const char *name, struct state * sp, int lastditch); ++static pg_time_t transtime(const pg_time_t janfirst, const int year, ++ const struct rule * rulep, const long offset); ++int tzparse(const char *name, struct state * sp, const int lastditch); + + /* GMT timezone */ + static struct state gmtmem; diff --git a/databases/postgresql82/patches/patch-ag b/databases/postgresql82/patches/patch-ag new file mode 100644 index 00000000000..f568ecd8a94 --- /dev/null +++ b/databases/postgresql82/patches/patch-ag @@ -0,0 +1,15 @@ +$NetBSD: patch-ag,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/timezone/private.h.orig 2005-02-23 13:34:21.000000000 +0900 ++++ src/timezone/private.h +@@ -66,8 +66,8 @@ extern int unlink(const char *filename); + extern char *icalloc(int nelem, int elsize); + extern char *icatalloc(char *old, const char *new); + extern char *icpyalloc(const char *string); +-extern char *imalloc(int n); +-extern void *irealloc(void *pointer, int size); ++extern char *imalloc(const int n); ++extern void *irealloc(void *pointer, const int size); + extern void icfree(char *pointer); + extern void ifree(char *pointer); + extern char *scheck(const char *string, const char *format); diff --git a/databases/postgresql82/patches/patch-ah b/databases/postgresql82/patches/patch-ah new file mode 100644 index 00000000000..1990d32ca32 --- /dev/null +++ b/databases/postgresql82/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/timezone/strftime.c.orig 2006-07-14 16:52:27.000000000 +0200 ++++ src/timezone/strftime.c +@@ -89,7 +89,7 @@ static const struct lc_time_T C_time_loc + }; + + static char *_add(const char *, char *, const char *); +-static char *_conv(int, const char *, char *, const char *); ++static char *_conv(const int, const char *, char *, const char *); + static char *_fmt(const char *, const struct pg_tm *, char *, + const char *, int *); + diff --git a/databases/postgresql82/patches/patch-ai b/databases/postgresql82/patches/patch-ai new file mode 100644 index 00000000000..d7042d1e14d --- /dev/null +++ b/databases/postgresql82/patches/patch-ai @@ -0,0 +1,80 @@ +$NetBSD: patch-ai,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/timezone/zic.c.orig 2006-10-24 17:11:03.000000000 +0200 ++++ src/timezone/zic.c +@@ -104,52 +104,52 @@ struct zone + }; + + extern int link(const char *fromname, const char *toname); +-static void addtt(pg_time_t starttime, int type); +-static int addtype(long gmtoff, const char *abbr, int isdst, +- int ttisstd, int ttisgmt); +-static void leapadd(pg_time_t t, int positive, int rolling, int count); ++static void addtt(const pg_time_t starttime, int type); ++static int addtype(const long gmtoff, const char *abbr, const int isdst, ++ const int ttisstd, const int ttisgmt); ++static void leapadd(const pg_time_t t, const int positive, const int rolling, int count); + static void adjleap(void); + static void associate(void); + static int ciequal(const char *ap, const char *bp); +-static void convert(long val, char *buf); ++static void convert(const long val, char *buf); + static void dolink(const char *fromfile, const char *tofile); + static void doabbr(char *abbr, const char *format, +- const char *letters, int isdst); +-static void eat(const char *name, int num); +-static void eats(const char *name, int num, +- const char *rname, int rnum); +-static long eitol(int i); ++ const char *letters, const int isdst); ++static void eat(const char *name, const int num); ++static void eats(const char *name, const int num, ++ const char *rname, const int rnum); ++static long eitol(const int i); + static void error(const char *message); + static char **getfields(char *buf); + static long gethms(const char *string, const char *errstrng, +- int signable); ++ const int signable); + static void infile(const char *filename); +-static void inleap(char **fields, int nfields); +-static void inlink(char **fields, int nfields); +-static void inrule(char **fields, int nfields); +-static int inzcont(char **fields, int nfields); +-static int inzone(char **fields, int nfields); +-static int inzsub(char **fields, int nfields, int iscont); ++static void inleap(char **fields, const int nfields); ++static void inlink(char **fields, const int nfields); ++static void inrule(char **fields, const int nfields); ++static int inzcont(char **fields, const int nfields); ++static int inzone(char **fields, const int nfields); ++static int inzsub(char **fields, const int nfields, const int iscont); + static int itsabbr(const char *abbr, const char *word); + static int itsdir(const char *name); + static int lowerit(int c); + static char *memcheck(char *tocheck); + static int mkdirs(char *filename); + static void newabbr(const char *abbr); +-static long oadd(long t1, long t2); +-static void outzone(const struct zone * zp, int ntzones); +-static void puttzcode(long code, FILE *fp); ++static long oadd(const long t1, const long t2); ++static void outzone(const struct zone * zp, const int ntzones); ++static void puttzcode(const long code, FILE *fp); + static int rcomp(const void *leftp, const void *rightp); +-static pg_time_t rpytime(const struct rule * rp, int wantedy); ++static pg_time_t rpytime(const struct rule * rp, const int wantedy); + static void rulesub(struct rule * rp, + const char *loyearp, const char *hiyearp, + const char *typep, const char *monthp, + const char *dayp, const char *timep); + static void setboundaries(void); +-static pg_time_t tadd(pg_time_t t1, long t2); ++static pg_time_t tadd(const pg_time_t t1, const long t2); + static void usage(void); + static void writezone(const char *name); +-static int yearistype(int year, const char *type); ++static int yearistype(const int year, const char *type); + + static int charcnt; + static int errors; diff --git a/databases/postgresql82/patches/patch-aj b/databases/postgresql82/patches/patch-aj new file mode 100644 index 00000000000..b7d83d94ff2 --- /dev/null +++ b/databases/postgresql82/patches/patch-aj @@ -0,0 +1,30 @@ +$NetBSD: patch-aj,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- contrib/tsearch2/snowball/Makefile.orig 2006-01-27 17:32:31.000000000 +0100 ++++ contrib/tsearch2/snowball/Makefile +@@ -1,6 +1,6 @@ + # $PostgreSQL: pgsql/contrib/tsearch2/snowball/Makefile,v 1.9 2006/01/27 16:32:31 teodor Exp $ + +-SUBOBJS = english_stem.o api.o russian_stem.o russian_stem_UTF8.o utilities.o ++SUBOBJS = english_stem.lo api.lo russian_stem.lo russian_stem_UTF8.lo utilities.lo + + EXTRA_CLEAN = SUBSYS.o $(SUBOBJS) + +@@ -14,13 +14,14 @@ subdir = contrib/tsearch2/snowball + top_builddir = ../../.. + include $(top_builddir)/src/Makefile.global + include $(top_srcdir)/contrib/contrib-global.mk ++include $(top_srcdir)/src/Makefile.shlib + endif + + override CFLAGS += $(CFLAGS_SL) + +-all: SUBSYS.o ++all: libSUBSYS.la + +-SUBSYS.o: $(SUBOBJS) +- $(LD) $(LDREL) $(LDOUT) $@ $^ ++libSUBSYS.la: $(SUBOBJS) ++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS} + + diff --git a/databases/postgresql82/patches/patch-ak b/databases/postgresql82/patches/patch-ak new file mode 100644 index 00000000000..220f22025d5 --- /dev/null +++ b/databases/postgresql82/patches/patch-ak @@ -0,0 +1,30 @@ +$NetBSD: patch-ak,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- contrib/tsearch2/ispell/Makefile.orig 2006-10-25 12:46:42.000000000 +0000 ++++ contrib/tsearch2/ispell/Makefile +@@ -1,6 +1,6 @@ + # $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.9 2005/10/18 01:30:48 tgl Exp $ + +-SUBOBJS = spell.o regis.o ++SUBOBJS = spell.lo regis.lo + + EXTRA_CLEAN = SUBSYS.o $(SUBOBJS) + +@@ -14,13 +14,12 @@ subdir = contrib/tsearch2/ispell + top_builddir = ../../.. + include $(top_builddir)/src/Makefile.global + include $(top_srcdir)/contrib/contrib-global.mk ++include $(top_srcdir)/src/Makefile.shlib + endif + + override CFLAGS += $(CFLAGS_SL) + +-all: SUBSYS.o +- +-SUBSYS.o: $(SUBOBJS) +- $(LD) $(LDREL) $(LDOUT) $@ $^ +- ++all: libSUBSYS.la + ++libSUBSYS.la: $(SUBOBJS) ++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS} diff --git a/databases/postgresql82/patches/patch-al b/databases/postgresql82/patches/patch-al new file mode 100644 index 00000000000..9598e09ccb3 --- /dev/null +++ b/databases/postgresql82/patches/patch-al @@ -0,0 +1,29 @@ +$NetBSD: patch-al,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- contrib/tsearch2/wordparser/Makefile.orig 2005-11-21 13:27:57.000000000 +0100 ++++ contrib/tsearch2/wordparser/Makefile +@@ -1,6 +1,6 @@ + # $PostgreSQL: pgsql/contrib/tsearch2/wordparser/Makefile,v 1.9 2005/11/21 12:27:57 teodor Exp $ + +-SUBOBJS = parser.o deflex.o ++SUBOBJS = parser.lo deflex.lo + + EXTRA_CLEAN = SUBSYS.o $(SUBOBJS) + +@@ -14,13 +14,14 @@ subdir = contrib/tsearch2/wordparser + top_builddir = ../../.. + include $(top_builddir)/src/Makefile.global + include $(top_srcdir)/contrib/contrib-global.mk ++include $(top_srcdir)/src/Makefile.shlib + endif + + override CFLAGS += $(CFLAGS_SL) + + all: SUBSYS.o + +-SUBSYS.o: $(SUBOBJS) +- $(LD) $(LDREL) $(LDOUT) $@ $^ ++libSUBSYS.la: $(SUBOBJS) ++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS} + + diff --git a/databases/postgresql82/patches/patch-am b/databases/postgresql82/patches/patch-am new file mode 100644 index 00000000000..ede92aa57ef --- /dev/null +++ b/databases/postgresql82/patches/patch-am @@ -0,0 +1,39 @@ +$NetBSD: patch-am,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- contrib/tsearch2/Makefile.orig 2006-09-11 17:14:46.000000000 +0200 ++++ contrib/tsearch2/Makefile +@@ -10,7 +10,7 @@ OBJS = dict_ex.o dict.o snmap.o stopword + ts_locale.o ts_lexize.o ginidx.o + + SUBDIRS := snowball ispell wordparser +-SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o) ++SUBDIROBJS := $(SUBDIRS:%=%/libSUBSYS.la) + + OBJS += $(SUBDIROBJS) + +@@ -22,7 +22,7 @@ DOCS = README.tsearch2 + REGRESS = tsearch2 + + SHLIB_LINK += $(filter -lm, $(LIBS)) +- ++shmodule=yes + + ifdef USE_PGXS + PGXS := $(shell pg_config --pgxs) +@@ -32,6 +32,7 @@ subdir = contrib/tsearch2 + top_builddir = ../.. + include $(top_builddir)/src/Makefile.global + include $(top_srcdir)/contrib/contrib-global.mk ++include $(top_builddir)/src/Makefile.shlib + endif + + +@@ -40,7 +41,7 @@ $(SUBDIROBJS): $(SUBDIRS:%=%-recursive) + .PHONY: $(SUBDIRS:%=%-recursive) + + $(SUBDIRS:%=%-recursive): +- $(MAKE) -C $(subst -recursive,,$@) SUBSYS.o ++ $(MAKE) -C $(subst -recursive,,$@) libSUBSYS.la + + tsearch2.sql: tsearch.sql.in + sed -e 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< >$@ diff --git a/databases/postgresql82/patches/patch-an b/databases/postgresql82/patches/patch-an new file mode 100644 index 00000000000..dd842510198 --- /dev/null +++ b/databases/postgresql82/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- src/interfaces/ecpg/test/Makefile.regress.orig 2006-10-22 22:13:37.000000000 +0200 ++++ src/interfaces/ecpg/test/Makefile.regress +@@ -8,7 +8,7 @@ override LIBS := -lecpg -lpgtypes $(libp + ECPG = ../../preproc/ecpg -I$(srcdir)/../../include + + %: %.c +- $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) $(LIBS) -o $@ ++ ${LIBTOOL} --mode=link $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) $(LIBS) -o $@ + + %.c: %.pgc ../regression.h + $(ECPG) -o $@ -I$(srcdir) $< |