summaryrefslogtreecommitdiff
path: root/chat/loudmouth
diff options
context:
space:
mode:
Diffstat (limited to 'chat/loudmouth')
-rw-r--r--chat/loudmouth/hacks.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/loudmouth/hacks.mk b/chat/loudmouth/hacks.mk
new file mode 100644
index 00000000000..2436ab979bc
--- /dev/null
+++ b/chat/loudmouth/hacks.mk
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2012/02/21 06:27:38 sbd Exp $
+
+.if !defined(HACKS_MK)
+HACKS_MK= defined
+
+### [Tue Feb 21 19:10:18 NZDT 2012: sbd]
+### 'AC_CHECK_LIB(resolv,res_query)' fails on Linux because the function's
+### symbol name is '__res_query'.
+###
+.if "${OPSYS}" == "Linux"
+PKG_HACKS+= libresolv
+LIBS+= -lresolv
+.endif
+
+.endif