summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/generate/hacks.mk11
-rw-r--r--net/dhisd/hacks.mk11
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/generate/hacks.mk b/devel/generate/hacks.mk
new file mode 100644
index 00000000000..9d33f4e79d1
--- /dev/null
+++ b/devel/generate/hacks.mk
@@ -0,0 +1,11 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/07 21:24:37 tv Exp $
+
+###
+### 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
diff --git a/net/dhisd/hacks.mk b/net/dhisd/hacks.mk
new file mode 100644
index 00000000000..a1f25101983
--- /dev/null
+++ b/net/dhisd/hacks.mk
@@ -0,0 +1,11 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/07 21:25:46 tv Exp $
+
+###
+### 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