diff options
author | jhale <jhale@FreeBSD.org> | 2014-06-22 17:43:38 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2014-06-22 17:43:38 +0800 |
commit | 04fb068355b1a7a40ab3938f7e918ef2ef4545cf (patch) | |
tree | 5e1df9922267ed67d1905bfe52dbe002dd342fec /security/gpgme | |
parent | a5f9d5f98e41f55a5f6b711682687a767ec1078d (diff) | |
download | freebsd-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/Makefile | 6 |
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} \ |