aboutsummaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 777afb665e71..549cf98f63dd 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -40,6 +40,12 @@ GNUPG2_RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
UISERVER_DESC= GnuPG UI server support
UISERVER_CONFIGURE_ENABLE= fd-passing
+.include <bsd.port.options.mk>
+
+.if !exists(${LOCALBASE}/bin/gpgsm)
+CONFIGURE_ARGS+= --disable-gpgsm-test
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT} \