pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/pidgin-otr Fix problem when using binary packages.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c21739baa8b5
branches:  trunk
changeset: 392854:c21739baa8b5
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue May 12 14:10:59 2009 +0000

description:
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:

 chat/pidgin-otr/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r dc37e2bfdec5 -r c21739baa8b5 chat/pidgin-otr/Makefile
--- a/chat/pidgin-otr/Makefile  Tue May 12 14:03:27 2009 +0000
+++ b/chat/pidgin-otr/Makefile  Tue May 12 14:10:59 2009 +0000
@@ -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 @@
 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/
 



Home | Main Index | Thread Index | Old Index