summaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
authorryoon <ryoon>2015-09-24 23:33:08 +0000
committerryoon <ryoon>2015-09-24 23:33:08 +0000
commitd6dab7656a3bf0522d56e1fd023e7f02c0d8494a (patch)
tree78abd48e5d34e10fdceffeac3d40ece94f419214 /security/gpgme
parentcef67a564258cca0aba7421cd9cb06818bd8e5d7 (diff)
downloadpkgsrc-d6dab7656a3bf0522d56e1fd023e7f02c0d8494a.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