aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2017-04-10 17:47:24 +0800
committerehaupt <ehaupt@FreeBSD.org>2017-04-10 17:47:24 +0800
commit5b61716489f23c91c1a0f260181ee92e2d188676 (patch)
tree10857ef40dbd06d2f3eab1fc0811dcb4ae4127c1 /net
parent88b307cfddcb667fa98dd2241da4ad466f03a8d8 (diff)
downloadfreebsd-ports-gnome-5b61716489f23c91c1a0f260181ee92e2d188676.tar.gz
freebsd-ports-gnome-5b61716489f23c91c1a0f260181ee92e2d188676.tar.zst
freebsd-ports-gnome-5b61716489f23c91c1a0f260181ee92e2d188676.zip
socat will automatically link against readline if devel/readline is installed.
Make readline optional and explicitly enable/disable during configure. This did not affect pkg only users as readline is not present on package build clusters but might affect (depending on readline presence) users that manually build ports. Therefore bump PORTREVISION. PR: 218370 (based on) Submitted by: sunpoet
Diffstat (limited to 'net')
-rw-r--r--net/socat/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index 056de4913add..08ba9f9c3be5 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= socat
PORTVERSION= 1.7.3.2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://www.dest-unreach.org/socat/download/ \
LOCAL/ehaupt
@@ -25,7 +25,11 @@ PORTSCOUT= skipv:2.0.0-b2
PLIST_FILES= bin/filan bin/procan bin/socat man/man1/socat.1.gz
PORTDOCS= EXAMPLES README SECURITY FAQ
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS READLINE
+
+READLINE_CONFIGURE_ENABLE= readline
+READLINE_CONFIGURE_OFF= --disable-readline
+READLINE_USES= readline
.include <bsd.port.pre.mk>