aboutsummaryrefslogtreecommitdiffstats
path: root/security/gpgme
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-06-22 17:43:38 +0800
committerjhale <jhale@FreeBSD.org>2014-06-22 17:43:38 +0800
commit04fb068355b1a7a40ab3938f7e918ef2ef4545cf (patch)
tree5e1df9922267ed67d1905bfe52dbe002dd342fec /security/gpgme
parenta5f9d5f98e41f55a5f6b711682687a767ec1078d (diff)
downloadfreebsd-ports-gnome-04fb068355b1a7a40ab3938f7e918ef2ef4545cf.tar.gz
freebsd-ports-gnome-04fb068355b1a7a40ab3938f7e918ef2ef4545cf.tar.zst
freebsd-ports-gnome-04fb068355b1a7a40ab3938f7e918ef2ef4545cf.zip
- Fix build if gpgsm is not installed
PR: 191264 Submitted by: rakuco
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} \