aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-06-14 20:26:26 +0800
committermakc <makc@FreeBSD.org>2010-06-14 20:26:26 +0800
commit405851d83b6bab46692ce5705f08eae257cbddb8 (patch)
tree61d1c67d6083486abd6da2104cd3abb2bea25368 /security
parent9c94e6a63c7486fcbc41cf5c4b0501cd45d9f6b3 (diff)
downloadfreebsd-ports-gnome-405851d83b6bab46692ce5705f08eae257cbddb8.tar.gz
freebsd-ports-gnome-405851d83b6bab46692ce5705f08eae257cbddb8.tar.zst
freebsd-ports-gnome-405851d83b6bab46692ce5705f08eae257cbddb8.zip
Check that at least one frontend is selected
Allow slave ports to override PORTREVISION
Diffstat (limited to 'security')
-rw-r--r--security/pinentry/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 97e1a0b54950..f8049d4601a8 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pinentry
PORTVERSION= 0.8.0
-PORTREVISION= 1
+PORTREVISION?= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= pinentry
@@ -41,6 +41,10 @@ PKGNAMESUFFIX= ${PINENTRY_SLAVE}
.include <bsd.port.options.mk>
+.if !(defined(WITH_NCURSES) || defined(WITH_GTK) || defined(WITH_GTK2) || defined(WITH_QT3) || defined(WITH_QT4))
+IGNORE= requires at least one frontend. Please rerun 'make config'
+.endif
+
.if defined(WITH_QT3)
USE_QT_VER= 3
PLIST_SUB+= WITH_QT3=""