Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2014 09:43:39 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358776 - head/security/gpgme
Message-ID:  <201406220943.s5M9hdLC045203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sun Jun 22 09:43:38 2014
New Revision: 358776
URL: http://svnweb.freebsd.org/changeset/ports/358776
QAT: https://qat.redports.org/buildarchive/r358776/

Log:
  - Fix build if gpgsm is not installed
  
  PR:		191264
  Submitted by:	rakuco

Modified:
  head/security/gpgme/Makefile

Modified: head/security/gpgme/Makefile
==============================================================================
--- head/security/gpgme/Makefile	Sun Jun 22 09:33:31 2014	(r358775)
+++ head/security/gpgme/Makefile	Sun Jun 22 09:43:38 2014	(r358776)
@@ -40,6 +40,12 @@ GNUPG2_RUN_DEPENDS=	gpg2:${PORTSDIR}/sec
 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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406220943.s5M9hdLC045203>