summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/gpa/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/gpa/Makefile b/security/gpa/Makefile
index b8a855f6ea38..beb4b3eb152a 100644
--- a/security/gpa/Makefile
+++ b/security/gpa/Makefile
@@ -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>