summaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/options.mk14
1 files changed, 5 insertions, 9 deletions
diff --git a/security/gpgme/options.mk b/security/gpgme/options.mk
index b30d11e87a1..f3c61f199c2 100644
--- a/security/gpgme/options.mk
+++ b/security/gpgme/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2015/10/22 19:18:34 tnn Exp $
+# $NetBSD: options.mk,v 1.4 2015/11/25 12:58:02 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gpgme
PKG_OPTIONS_REQUIRED_GROUPS= gnupg
@@ -9,17 +9,13 @@ PKG_SUGGESTED_OPTIONS= gnupg2
.if !empty(PKG_OPTIONS:Mgnupg21)
DEPENDS+= gnupg21>=2.1:../../security/gnupg21
-FIND_PREFIX:= GPG2DIR=gnupg21
-.include "../../mk/find-prefix.mk"
-CONFIGURE_ARGS+= --with-gpgsm=${GPG2DIR}/bin/gpgsm
-CONFIGURE_ARGS+= --with-gpg=${GPG2DIR}/bin/gpg2
+CONFIGURE_ARGS+= --with-gpgsm=${LOCALBASE}/bin/gpgsm
+CONFIGURE_ARGS+= --with-gpg=${LOCALBASE}/bin/gpg2
REPLACE_SH+= tests/gpg/pinentry
.elif !empty(PKG_OPTIONS:Mgnupg2)
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
+CONFIGURE_ARGS+= --with-gpgsm=${LOCALBASE}/bin/gpgsm
+CONFIGURE_ARGS+= --with-gpg=${LOCALBASE}/bin/gpg2
REPLACE_SH+= tests/gpg/pinentry
.else
DEPENDS+= gnupg>=1.4.2:../../security/gnupg