| @@ -1,30 +1,30 @@ | | | @@ -1,30 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.53 2024/04/21 11:36:38 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.54 2024/04/21 11:36:51 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= socat-1.8.0.0 | | 3 | DISTNAME= socat-1.8.0.0 |
4 | CATEGORIES= net | | 4 | CATEGORIES= net |
5 | MASTER_SITES= http://www.dest-unreach.org/socat/download/ | | 5 | MASTER_SITES= http://www.dest-unreach.org/socat/download/ |
6 | | | 6 | |
7 | MAINTAINER= leot@NetBSD.org | | 7 | MAINTAINER= leot@NetBSD.org |
8 | HOMEPAGE= http://www.dest-unreach.org/socat/ | | 8 | HOMEPAGE= http://www.dest-unreach.org/socat/ |
9 | COMMENT= "netcat++" (extended design, new implementation) | | 9 | COMMENT= "netcat++" (extended design, new implementation) |
10 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
11 | | | 11 | |
12 | GNU_CONFIGURE= YES | | 12 | GNU_CONFIGURE= YES |
13 | | | 13 | |
14 | USE_TOOLS+= bash | | 14 | USE_TOOLS+= bash |
15 | REPLACE_BASH+= *.sh | | 15 | REPLACE_BASH+= *.sh |
16 | | | 16 | |
17 | USE_FEATURES+= strnlen | | 17 | USE_FEATURES+= strndup |
18 | | | 18 | |
19 | TEST_TARGET= test | | 19 | TEST_TARGET= test |
20 | | | 20 | |
21 | .include "../../mk/bsd.prefs.mk" | | 21 | .include "../../mk/bsd.prefs.mk" |
22 | | | 22 | |
23 | CONFIGURE_ARGS+= --disable-libwrap | | 23 | CONFIGURE_ARGS+= --disable-libwrap |
24 | | | 24 | |
25 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" | | 25 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" |
26 | # 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. |
27 | CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1 | | 27 | CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1 |
28 | CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1 | | 28 | CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1 |
29 | CONFIGURE_ENV+= sc_cv_sys_csize_shift=8 | | 29 | CONFIGURE_ENV+= sc_cv_sys_csize_shift=8 |
30 | CONFIGURE_ENV+= ac_cv_ispeed_offset=9 | | 30 | CONFIGURE_ENV+= ac_cv_ispeed_offset=9 |