*** Makefile.orig Tue Jul 29 00:03:30 2008 --- Makefile Tue Jul 29 00:23:11 2008 *************** *** 19,24 **** --- 19,28 ---- PG_CPPFLAGS = -I$(PQINC) SHLIB_LINK = -L$(PQLIB) -lpq + # load PGXS makefile + PGXS = $(shell pg_config --pgxs) + include $(PGXS) + ifeq ($(PORTNAME), win32) SHLIB_LINK += -lws2_32 -lpgport endif *************** *** 38,46 **** plproxy_errors plproxy_clustermap plproxy_dynamic_record REGRESS_OPTS = --load-language=plpgsql - # load PGXS makefile - PGXS = $(shell pg_config --pgxs) - include $(PGXS) # parser rules src/scanner.o: src/parser.tab.h --- 42,47 ----