| @@ -1,42 +1,41 @@ | | | @@ -1,42 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.43 2020/02/09 13:19:10 jdolecek Exp $ | | 1 | # $NetBSD: Makefile,v 1.44 2020/05/18 11:19:13 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= socat-1.7.3.3 | | 3 | DISTNAME= socat-1.7.3.4 |
4 | PKGREVISION= 2 | | | |
5 | CATEGORIES= net | | 4 | CATEGORIES= net |
6 | MASTER_SITES= http://www.dest-unreach.org/socat/download/ | | 5 | MASTER_SITES= http://www.dest-unreach.org/socat/download/ |
7 | | | 6 | |
8 | MAINTAINER= leot@NetBSD.org | | 7 | MAINTAINER= leot@NetBSD.org |
9 | HOMEPAGE= http://www.dest-unreach.org/socat/ | | 8 | HOMEPAGE= http://www.dest-unreach.org/socat/ |
10 | COMMENT= "netcat++" (extended design, new implementation) | | 9 | COMMENT= "netcat++" (extended design, new implementation) |
11 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
12 | | | 11 | |
13 | GNU_CONFIGURE= YES | | 12 | GNU_CONFIGURE= YES |
14 | | | 13 | |
15 | USE_TOOLS+= bash:test | | 14 | USE_TOOLS+= bash:test |
16 | REPLACE_BASH+= *.sh | | 15 | REPLACE_BASH+= *.sh |
17 | | | 16 | |
18 | TEST_TARGET= test | | 17 | TEST_TARGET= test |
19 | | | 18 | |
20 | .include "../../mk/bsd.prefs.mk" | | 19 | .include "../../mk/bsd.prefs.mk" |
21 | | | 20 | |
22 | CONFIGURE_ARGS+= --disable-libwrap | | 21 | CONFIGURE_ARGS+= --disable-libwrap |
23 | | | 22 | |
24 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" | | 23 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" |
25 | # XXX Kludge -- the right fix is to make socat not depend on these constants. | | 24 | # XXX Kludge -- the right fix is to make socat not depend on these constants. |
26 | CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1 | | 25 | CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1 |
27 | CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1 | | 26 | CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1 |
28 | CONFIGURE_ENV+= sc_cv_sys_csize_shift=8 | | 27 | CONFIGURE_ENV+= sc_cv_sys_csize_shift=8 |
29 | CONFIGURE_ENV+= ac_cv_ispeed_offset=9 | | 28 | CONFIGURE_ENV+= ac_cv_ispeed_offset=9 |
30 | .endif | | 29 | .endif |
31 | | | 30 | |
32 | SUBST_CLASSES+= paths | | 31 | SUBST_CLASSES+= paths |
33 | SUBST_MESSAGE.paths= Fixing hardcoded paths. | | 32 | SUBST_MESSAGE.paths= Fixing hardcoded paths. |
34 | SUBST_STAGE.paths= pre-configure | | 33 | SUBST_STAGE.paths= pre-configure |
35 | SUBST_FILES.paths= doc/socat.1 | | 34 | SUBST_FILES.paths= doc/socat.1 |
36 | SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g' | | 35 | SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g' |
37 | | | 36 | |
38 | .include "options.mk" | | 37 | .include "options.mk" |
39 | | | 38 | |
40 | .include "../../security/openssl/buildlink3.mk" | | 39 | .include "../../security/openssl/buildlink3.mk" |
41 | .include "../../devel/readline/buildlink3.mk" | | 40 | .include "../../devel/readline/buildlink3.mk" |
42 | .include "../../mk/bsd.pkg.mk" | | 41 | .include "../../mk/bsd.pkg.mk" |