git: 9a7e609520a2 - main - net/socat: Ensure socat respects non-default SSL libraries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Mar 2024 11:49:37 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9a7e609520a27bc4d94c03fc78d8a89bbe9fa856
commit 9a7e609520a27bc4d94c03fc78d8a89bbe9fa856
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-03-10 11:49:24 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-03-10 11:49:31 +0000
net/socat: Ensure socat respects non-default SSL libraries
PR: 277517 (based on)
Reported by: dave@jetcafe.org
---
net/socat/Makefile | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/socat/Makefile b/net/socat/Makefile
index b547ad6ed76e..d661e2fb2bc3 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -1,6 +1,6 @@
PORTNAME= socat
DISTVERSION= 1.8.0.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.dest-unreach.org/socat/download/ \
LOCAL/ehaupt
@@ -27,11 +27,11 @@ PLIST_FILES= bin/filan \
share/man/man1/socat.1.gz
PORTDOCS= EXAMPLES FAQ README SECURITY
-OPTIONS_DEFINE= DOCS READLINE IPV6DEFAULT
+OPTIONS_DEFINE= DOCS IPV6DEFAULT READLINE
IPV6DEFAULT_DESC= Use IPv6 by default
-IPV6DEFAULT_CONFIGURE_OFF= --enable-default-ipv=4
-IPV6DEFAULT_CONFIGURE_ENABLE= default-ipv=6
+IPV6DEFAULT_CONFIGURE_OFF= --enable-default-ipv=4
+IPV6DEFAULT_CONFIGURE_ENABLE= default-ipv=6
READLINE_USES= readline
READLINE_CONFIGURE_ENABLE= readline
@@ -39,7 +39,8 @@ READLINE_CONFIGURE_ENABLE= readline
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} != base
-USES+= localbase
+USES+= localbase
+CONFIGURE_ARGS+= --enable-openssl-base=${LOCALBASE}
.endif
do-install: