summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2009-05-12 14:10:59 +0000
committerreed <reed@pkgsrc.org>2009-05-12 14:10:59 +0000
commit5083fcfd024fa4a973a9c0718158df76672efda7 (patch)
tree46b8013abf3abffc9b09c115309e47c2655f3cf4 /chat
parent27c38212877eb65ca5cb4a10ede13d6295093697 (diff)
downloadpkgsrc-5083fcfd024fa4a973a9c0718158df76672efda7.tar.gz
Fix problem when using binary packages.
Add BUILDLINK_API_DEPENDS.libotr due to: configure: error: libotr 3.2.0 or newer is required. The real problem was undefined reference to gcry_cipher_setkey and gcry_cipher_setctr. Looked at various versions on different architectures and it appears even though the headers were there, they weren't defined in the library until libgcrypt-1.4.3 -- so define BUILDLINK_ABI_DEPENDS.libgcrypt. Bump PKGREVISION.
Diffstat (limited to 'chat')
-rw-r--r--chat/pidgin-otr/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/chat/pidgin-otr/Makefile b/chat/pidgin-otr/Makefile
index e07afeb5ad2..3afbef393fc 100644
--- a/chat/pidgin-otr/Makefile
+++ b/chat/pidgin-otr/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2008/08/19 18:18:11 bjs Exp $
+# $NetBSD: Makefile,v 1.9 2009/05/12 14:10:59 reed Exp $
VERSION= 3.2.0
DISTNAME= pidgin-otr-${VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= chat security
MASTER_SITES= http://www.cypherpunks.ca/otr/
@@ -16,6 +16,9 @@ GNU_CONFIGURE= yes
INSTALLATION_DIRS= share/doc/pidgin-otr
USE_TOOLS+= pkg-config perl intltool msgfmt
+BUILDLINK_ABI_DEPENDS.libgcrypt+= libgcrypt>=1.4.3
+BUILDLINK_API_DEPENDS.libotr+= libotr>=3.2.0
+
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pidgin-otr/