MacOS X is said to have kqueue. Let's enable it too.
#PCREDIR=/usr/local
# This is for darwin 3.0 and above
-COPTS.darwin = -DENABLE_POLL
+COPTS.darwin = -DENABLE_POLL -DENABLE_KQUEUE
LIBS.darwin =
# CPU dependant optimizations
# set some defines when needed.
# Known ones are -DENABLE_POLL
# - use -DTPROXY to compile with transparent proxy support.
-DEFINE = -DTPROXY
+DEFINE = -DTPROXY
# global options
TARGET_OPTS=$(COPTS.$(TARGET))