summaryrefslogtreecommitdiff
path: root/chat/loudmouth
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-02-21 06:27:38 +0000
committersbd <sbd@pkgsrc.org>2012-02-21 06:27:38 +0000
commitb6e5fc9fb210829ba79891b1bba6680ef278d3e7 (patch)
tree200e91b5631ee00bdc5c45c76af7e93ebd0a8137 /chat/loudmouth
parentb35289eb760def26fbb9113f8d38518185a60a4c (diff)
downloadpkgsrc-b6e5fc9fb210829ba79891b1bba6680ef278d3e7.tar.gz
Add 'libresolv' hack for Linux.
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