2008-03-03 12:45:17 +01:00
|
|
|
$NetBSD: patch-ab,v 1.2 2008/03/03 11:45:17 sketch Exp $
|
2007-08-07 14:34:56 +02:00
|
|
|
|
2008-03-03 12:45:17 +01:00
|
|
|
--- Makefile.orig 2007-08-20 07:42:05.000000000 +0100
|
|
|
|
+++ Makefile 2008-03-03 11:05:32.976857000 +0000
|
|
|
|
@@ -14,6 +14,8 @@
|
2007-08-07 14:34:56 +02:00
|
|
|
# os x
|
|
|
|
lib += -L/usr/local/mysql
|
|
|
|
|
|
|
|
+inc = -I${MYSQL_PREFIX}/include/mysql
|
|
|
|
+lib = -L${MYSQL_PREFIX}/lib/mysql -Wl,-R${MYSQL_PREFIX}/lib/mysql
|
|
|
|
|
|
|
|
CC := gcc
|
|
|
|
CPPFLAGS := -O $(inc)
|
2008-03-03 12:45:17 +01:00
|
|
|
@@ -23,6 +25,7 @@
|
|
|
|
|
|
|
|
ifeq "${OS_NAME}" "sunos"
|
|
|
|
LDLIBS += -lsocket -lnsl -lm
|
|
|
|
+CPPFLAGS += -DMSG_NOSIGNAL=0
|
|
|
|
endif
|
|
|
|
|
|
|
|
.c.o:
|