summaryrefslogtreecommitdiff
path: root/net/libares/hacks.mk
diff options
context:
space:
mode:
authortv <tv>2005-03-12 05:42:48 +0000
committertv <tv>2005-03-12 05:42:48 +0000
commit31d23cc079b3bc5e7603ae2e23d7392149df776c (patch)
tree7b7858625a7a4c92fce18ec841abb539194eb0d3 /net/libares/hacks.mk
parent76c3651b177d35d957c87a3c86fb8ba58856892c (diff)
downloadpkgsrc-31d23cc079b3bc5e7603ae2e23d7392149df776c.tar.gz
Make build on Interix.
Part of the fix adds <sys/time.h> to ares.h to make it get fd_set on more platforms, so bump PKGREVISION.
Diffstat (limited to 'net/libares/hacks.mk')
-rw-r--r--net/libares/hacks.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/libares/hacks.mk b/net/libares/hacks.mk
new file mode 100644
index 00000000000..874f4ab4cef
--- /dev/null
+++ b/net/libares/hacks.mk
@@ -0,0 +1,11 @@
+# $NetBSD: hacks.mk,v 1.1 2005/03/12 05:42:48 tv Exp $
+
+### [Sat Mar 12 05:35:46 UTC 2005 : tv]
+### Need a real resolver on Interix.
+###
+.if ${OPSYS} == "Interix"
+BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/bind /usr/local/lib/bind
+CPPFLAGS+= -I/usr/local/include/bind
+LDFLAGS+= -L/usr/local/lib/bind
+LIBS+= -lbind -ldb
+.endif