Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2016 19:17:15 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406268 - head/security/gpa
Message-ID:  <201601161917.u0GJHFEK079404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jan 16 19:17:15 2016
New Revision: 406268
URL: https://svnweb.freebsd.org/changeset/ports/406268

Log:
  Allow building in poudriere or from ports when gnupg is not yet installed

Modified:
  head/security/gpa/Makefile

Modified: head/security/gpa/Makefile
==============================================================================
--- head/security/gpa/Makefile	Sat Jan 16 18:46:29 2016	(r406267)
+++ head/security/gpa/Makefile	Sat Jan 16 19:17:15 2016	(r406268)
@@ -31,10 +31,10 @@ OPTIONS_SUB=	yes
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
-.include <bsd.port.options.mk>
-
-.if !exists(${LOCALBASE}/bin/gpgsm)
-IGNORE=		requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON
-.endif
+pre-configure:
+	@(if [ ! -e ${LOCALBASE}/bin/gpgsm ] ; then \
+	${ECHO_MSG} "gpa requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON" ; \
+	exit 1; \
+	fi)
 
 .include <bsd.port.mk>



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