Sun Apr 21 11:36:38 2024 UTC (35d)
socat: Requires strndup


(nia)
diff -r1.52 -r1.53 pkgsrc/net/socat/Makefile

cvs diff -r1.52 -r1.53 pkgsrc/net/socat/Makefile (expand / switch to unified diff)

--- pkgsrc/net/socat/Makefile 2023/12/25 23:43:31 1.52
+++ pkgsrc/net/socat/Makefile 2024/04/21 11:36:38 1.53
@@ -1,29 +1,31 @@ @@ -1,29 +1,31 @@
1# $NetBSD: Makefile,v 1.52 2023/12/25 23:43:31 mef Exp $ 1# $NetBSD: Makefile,v 1.53 2024/04/21 11:36:38 nia Exp $
2 2
3DISTNAME= socat-1.8.0.0 3DISTNAME= socat-1.8.0.0
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= http://www.dest-unreach.org/socat/download/ 5MASTER_SITES= http://www.dest-unreach.org/socat/download/
6 6
7MAINTAINER= leot@NetBSD.org 7MAINTAINER= leot@NetBSD.org
8HOMEPAGE= http://www.dest-unreach.org/socat/ 8HOMEPAGE= http://www.dest-unreach.org/socat/
9COMMENT= "netcat++" (extended design, new implementation) 9COMMENT= "netcat++" (extended design, new implementation)
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12GNU_CONFIGURE= YES 12GNU_CONFIGURE= YES
13 13
14USE_TOOLS+= bash 14USE_TOOLS+= bash
15REPLACE_BASH+= *.sh 15REPLACE_BASH+= *.sh
16 16
 17USE_FEATURES+= strnlen
 18
17TEST_TARGET= test 19TEST_TARGET= test
18 20
19.include "../../mk/bsd.prefs.mk" 21.include "../../mk/bsd.prefs.mk"
20 22
21CONFIGURE_ARGS+= --disable-libwrap 23CONFIGURE_ARGS+= --disable-libwrap
22 24
23.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" 25.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD"
24# XXX Kludge -- the right fix is to make socat not depend on these constants. 26# XXX Kludge -- the right fix is to make socat not depend on these constants.
25CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1 27CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1
26CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1 28CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1
27CONFIGURE_ENV+= sc_cv_sys_csize_shift=8 29CONFIGURE_ENV+= sc_cv_sys_csize_shift=8
28CONFIGURE_ENV+= ac_cv_ispeed_offset=9 30CONFIGURE_ENV+= ac_cv_ispeed_offset=9
29.endif 31.endif