aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/gnupg/Makefile4
-rw-r--r--security/gnupg1/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 81cc2ab762ab..446a3708c492 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -68,6 +68,10 @@ post-install:
PKGMESSAGE= /nonexistent
.endif
+.if ${OSVERSION} < 500000
+CONFIGURE_ARGS+= --without-readline
+.endif
+
check:
(cd ${WRKSRC}; ${MAKE} check)
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 81cc2ab762ab..446a3708c492 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -68,6 +68,10 @@ post-install:
PKGMESSAGE= /nonexistent
.endif
+.if ${OSVERSION} < 500000
+CONFIGURE_ARGS+= --without-readline
+.endif
+
check:
(cd ${WRKSRC}; ${MAKE} check)