updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / msn-proxy-mysql / Makefile.patch
blobabbfe02a8223f2a073de3c9d4f08784232d4e3ae
1 --- Makefile 2008-06-16 15:20:01.000000000 -0300
2 +++ Makefile.new 2008-12-01 18:22:22.843338556 -0200
3 @@ -1,20 +1,21 @@
5 RM=/bin/rm
6 -INSTALL=/usr/bin/install
7 -SYSCONFDIR=$(DESTDIR)/usr/local/etc/msn-proxy
8 -BINDIR=$(DESTDIR)/usr/local/bin
9 +INSTALL=/bin/install
10 +SYSCONFDIR=$(DESTDIR)/etc/msn-proxy
11 +BINDIR=$(DESTDIR)/usr/bin
13 # FreeBSD
14 -MYSQLINC=/usr/local/include
15 -MYSQLLIB=/usr/local/lib/mysql
16 +#MYSQLINC=/usr/local/include
17 +#MYSQLLIB=/usr/local/lib/mysql
19 # Linux (most)
20 -#MYSQLINC=/usr/lib/mysql
21 -#MYSQLLIB=/usr/local/mysql/lib/mysql
22 +MYSQLINC=/usr/lib/mysql
23 +MYSQLLIB=/var/lib/mysql
25 -CCFLAGS=-g -Wall -O2 -pipe -I/usr/local/include -I$(MYSQLINC) -fno-builtin-log
26 +CCFLAGS=-I/usr/include -I$(MYSQLINC) -DMYSQLCONFDIR=\""/etc/msn-proxy/mysql"\"
27 +-DDEFAULT_CONFIG_PATH=\""/etc/msn-proxy"\" -fno-builtin-log
29 -LDFLAGS=-L/usr/local/lib -levent -L$(MYSQLLIB) -lmysqlclient
30 +LDFLAGS=-L/usr/lib -levent -L$(MYSQLLIB) -lmysqlclient
32 OBJS=msn-proxy.o server.o sb.o command.o config.o net-io.o client.o syslog.o \
33 ns.o mysql.o sql.o protocol.o check-cmd.o contacts.o msg.o p2p.o \