aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index 4df22be6a646..e0ad89f12ca9 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -28,9 +28,11 @@ INFO= gcrypt
pre-extract:
.if exists(${PREFIX}/bin/gpg)
+ @${MKDIR} ${WRKDIR}
@${ECHO_CMD} "===> Verifying GnuPG Signature."
- -${PREFIX}/bin/gpg --keyserver pgp.mit.edu --recv-key 57548DCD
- cd ${DISTDIR}; ${PREFIX}/bin/gpg --verify \
+ -${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
+ --keyserver pgp.mit.edu --recv-key 57548DCD
+ cd ${DISTDIR}; ${PREFIX}/bin/gpg --keyring ${WRKDIR}/keyring --verify \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig \
${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.else