diff options
author | sbd <sbd@pkgsrc.org> | 2012-02-21 06:27:38 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-02-21 06:27:38 +0000 |
commit | b6e5fc9fb210829ba79891b1bba6680ef278d3e7 (patch) | |
tree | 200e91b5631ee00bdc5c45c76af7e93ebd0a8137 /chat/loudmouth | |
parent | b35289eb760def26fbb9113f8d38518185a60a4c (diff) | |
download | pkgsrc-b6e5fc9fb210829ba79891b1bba6680ef278d3e7.tar.gz |
Add 'libresolv' hack for Linux.
Diffstat (limited to 'chat/loudmouth')
-rw-r--r-- | chat/loudmouth/hacks.mk | 15 |
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 |