1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/databases/clip/files/patch-cliplibs::clip-mysql::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

25 lines
943 B
Plaintext

--- cliplibs/clip-mysql/Makefile.orig Fri Dec 20 14:38:20 2002
+++ cliplibs/clip-mysql/Makefile Sat Sep 20 23:40:00 2003
@@ -13,7 +13,7 @@
TARGET=libclip-mysql$(DLLSUFF)
ATARGET=libclip-mysql.a
RTARGET=libclip-mysql$(DLLREALSUFF)
-MSINC = -I/usr/include/mysql -I/usr/local/include/mysql
+MSINC = -I/usr/local/include/mysql
OBJS=ms_clip.o ms.o
all: have_lib $(TARGET) $(ATARGET)
@@ -22,10 +22,10 @@
test -f /usr/include/mysql/mysql.h -o -f /usr/local/include/mysql/mysql.h
$(TARGET): $(OBJS)
- $(CLIPROOT)/bin/clip_makeslib $(TARGET) $(OBJS) -lmysqlclient -L/usr/lib/mysql
+ $(CLIPROOT)/bin/clip_makeslib $(TARGET) $(OBJS) -lmysqlclient -L/usr/local/lib/mysql
$(ATARGET): $(OBJS)
- $(CLIPROOT)/bin/clip_makelib $(ATARGET) $(OBJS) -lmysqlclient -L/usr/lib/mysql
+ $(CLIPROOT)/bin/clip_makelib $(ATARGET) $(OBJS) -lmysqlclient -L/usr/local/lib/mysql
ms_clip.o: ms_clip.c
$(CC) $(C_FLAGS) $(CLIPINCLUDE) $(MSINC) -c ms_clip.c