svn commit: r358776 - head/security/gpgme

Jason E. Hale jhale at FreeBSD.org
Sun Jun 22 09:43:39 UTC 2014


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} \


More information about the svn-ports-head mailing list