summaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-09-24 23:33:08 +0000
committerryoon <ryoon@pkgsrc.org>2015-09-24 23:33:08 +0000
commit49074949baf9dabd3bd2bfa14b409972364c5d0c (patch)
tree78abd48e5d34e10fdceffeac3d40ece94f419214 /security/gpgme
parent09bebfee5ccd89676213419133cc2f86a2a629ea (diff)
downloadpkgsrc-49074949baf9dabd3bd2bfa14b409972364c5d0c.tar.gz
Bump PKGREVISION
* Do not abuse buildlink3. * Use GnuPG 2.0 explicitly.
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/Makefile3
-rw-r--r--security/gpgme/options.mk10
2 files changed, 8 insertions, 5 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index eae88578990..92e1672b09f 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2015/08/27 03:39:20 mef Exp $
+# $NetBSD: Makefile,v 1.77 2015/09/24 23:33:08 ryoon Exp $
DISTNAME= gpgme-1.6.0
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/
EXTRACT_SUFX= .tar.bz2
diff --git a/security/gpgme/options.mk b/security/gpgme/options.mk
index 356e633ad6d..894f9ae9e68 100644
--- a/security/gpgme/options.mk
+++ b/security/gpgme/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2011/03/03 11:39:47 adam Exp $
+# $NetBSD: options.mk,v 1.2 2015/09/24 23:33:08 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gpgme
PKG_SUPPORTED_OPTIONS= gpgsm
@@ -10,9 +10,11 @@ PKG_SUGGESTED_OPTIONS= gpgsm
## Option to build with gpgsm. This provides SMIME support
##
.if !empty(PKG_OPTIONS:Mgpgsm)
-. include "../../security/gnupg2/buildlink3.mk"
-CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg2}/bin/gpgsm
-CONFIGURE_ARGS+= --with-gpg=${BUILDLINK_PREFIX.gnupg2}/bin/gpg2
+DEPENDS+= gnupg2>=2.0<2.1:../../security/gnupg2
+FIND_PREFIX:= GPG2DIR=gnupg2
+.include "../../mk/find-prefix.mk"
+CONFIGURE_ARGS+= --with-gpgsm=${GPG2DIR}/bin/gpgsm
+CONFIGURE_ARGS+= --with-gpg=${GPG2DIR}/bin/gpg2
REPLACE_SH+= tests/gpg/pinentry
.else
DEPENDS+= gnupg>=1.4.2:../../security/gnupg