Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 547234 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.Linux.orig (-5 / +5 lines)
Lines 10-20 Link Here
10
BUILDDIR =
10
BUILDDIR =
11
CC = gcc
11
CC = gcc
12
12
13
CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
13
CFLAGS += -g -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
14
COUT = -o 
14
COUT = -o 
15
LN = gcc
15
LN = gcc
16
DCFLAGS = -fpic
16
DCFLAGS = -fpic
17
LDFLAGS = -O2 -pthread
17
LDFLAGS += -pthread
18
DLFLAGS = -shared
18
DLFLAGS = -shared
19
DLSUFFICS = .ld.so
19
DLSUFFICS = .ld.so
20
# -lpthreads may be reuqired on some platforms instead of -pthreads
20
# -lpthreads may be reuqired on some platforms instead of -pthreads
Lines 39-50 Link Here
39
include Makefile.inc
39
include Makefile.inc
40
40
41
allplugins:
41
allplugins:
42
	@list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; make ;	cd ../.. ; done
42
	@list='$(PLUGINS)'; for p in $$list; do cp Makefile Makefile.var plugins/$$p; cd plugins/$$p ; $(MAKE) ;	cd ../.. ; done
43
43
44
DESTDIR		=
44
DESTDIR		=
45
prefix		= /usr/local
45
prefix		=
46
exec_prefix	= $(prefix)
46
exec_prefix	= $(prefix)
47
man_prefix	= $(prefix)/share
47
man_prefix	= $(prefix)/usr/share
48
48
49
INSTALL		= /usr/bin/install
49
INSTALL		= /usr/bin/install
50
INSTALL_BIN	= $(INSTALL) -m 755
50
INSTALL_BIN	= $(INSTALL) -m 755
(-)src/stringtable.c.orig (-1 / +1 lines)
Lines 38-44 Link Here
38
/* 24 */	NULL,
38
/* 24 */	NULL,
39
#ifndef TPROXY_CONF
39
#ifndef TPROXY_CONF
40
#ifndef _WIN32
40
#ifndef _WIN32
41
/* 25 */	(unsigned char *)"/usr/local/etc/3proxy/3proxy.cfg",
41
/* 25 */	(unsigned char *)"/etc/3proxy/3proxy.cfg",
42
#else
42
#else
43
/* 25 */	(unsigned char *)"3proxy.cfg",
43
/* 25 */	(unsigned char *)"3proxy.cfg",
44
#endif
44
#endif

Return to bug 547234