svn commit: r406268 - head/security/gpa
Antoine Brodin
antoine at FreeBSD.org
Sat Jan 16 19:17:17 UTC 2016
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>
More information about the svn-ports-all
mailing list