mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 19:09:16 -04:00
- introduces IPv6 support - connect back - DNS proxy via TCP with parent proxy support - non-blocking name resolution via default system methods on *nix - reduced memory usage - multiple race conditions fixes. It's recommended to move to 0.8.0 if you use 3proxy under high load. PR: 206423 Submitted by: timp87@gmail.com (maintainer)
26 lines
757 B
Text
26 lines
757 B
Text
--- Makefile.unix.orig 2016-01-19 22:20:05 UTC
|
|
+++ Makefile.unix
|
|
@@ -8,18 +8,18 @@
|
|
# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
|
|
|
|
BUILDDIR =
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
|
|
# you may need -L/usr/pkg/lib for older NetBSD versions
|
|
-CFLAGS = -g -O2 -c -pthread -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
|
|
+CFLAGS = -c %%CFLAGS%% -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
|
|
COUT = -o
|
|
-LN = gcc
|
|
-LDFLAGS = -O2 -pthread
|
|
+LN ?= ${CC}
|
|
+LDFLAGS = -pthread
|
|
# -lpthreads may be reuqired on some platforms instead of -pthreads
|
|
# -ldl or -lld may be required for some platforms
|
|
DCFLAGS = -fpic
|
|
DLFLAGS = -shared
|
|
-DLSUFFICS = .ld.so
|
|
+DLSUFFICS = .so
|
|
LIBS =
|
|
LNOUT = -o
|
|
EXESUFFICS =
|