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.
This commit is contained in:
parent
b38eb3ff11
commit
1747bedd4a
1 changed files with 5 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue