summaryrefslogtreecommitdiff
path: root/net/libares/hacks.mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-12 05:42:48 +0000
committertv <tv@pkgsrc.org>2005-03-12 05:42:48 +0000
commit226d9e21506d93f71bcb9994ba07c494c38205b6 (patch)
tree7b7858625a7a4c92fce18ec841abb539194eb0d3 /net/libares/hacks.mk
parent8931ca1a12f426ff0d5c62d6884db44a29694a34 (diff)
downloadpkgsrc-226d9e21506d93f71bcb9994ba07c494c38205b6.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