ports/databases/clip/files/patch-cliplibs::clip-postgres::Makefile
Kirill Ponomarev 17fc1fcde0 - Unbreak and upgrade to 1.1.0 (fix bento error)
http://bento.freebsd.org/errorlogs/i386-4-full/clip-0.99_1.log

PR:		57068
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-09-23 08:06:25 +00:00

18 lines
831 B
Text

--- cliplibs/clip-postgres/Makefile.orig Mon Jan 13 12:14:20 2003
+++ cliplibs/clip-postgres/Makefile Sat Sep 20 23:52:16 2003
@@ -13,13 +13,13 @@
TARGET=libclip-postgres$(DLLSUFF)
RTARGET=libclip-postgres$(DLLREALSUFF)
-PGINC = -I/usr/include/pgsql -I/usr/include/postgresql -I/usr/include/pgsql/server
+PGINC = -I/usr/include/postgresql -I/usr/include/postgresql/server
OBJS=pg_clip.o pg.o
all: have_lib $(TARGET)
have_lib:
- test -f /usr/include/pgsql/libpq-fe.h -o -f /usr/include/postgresql/libpq-fe.h -o -f /usr/include/libpq-fe.h -o -f /usr/local/include/libpq-fe.h
+ test -f /usr/local/include/pgsql/libpq-fe.h -o -f /usr/local/include/postgresql/libpq-fe.h -o -f /usr/local/include/libpq-fe.h
$(TARGET): $(OBJS)
$(CLIPROOT)/bin/clip_makeslib $(TARGET) $(OBJS) -lpq -L/usr/local/lib -L/usr/local/pgsql/lib