diff options
| author | Brent Cook <bcook@openbsd.org> | 2015-09-12 09:50:44 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2015-09-12 09:50:44 -0500 |
| commit | a64c42a09d094f077e20fd46d644fbd94a3cec14 (patch) | |
| tree | eab1bb19600ad75f670e7dd5558eb6f39f6128f4 /apps | |
| parent | bcd3b2fde680dbcd46cdd62f40dcf8e262b0020b (diff) | |
| download | portable-a64c42a09d094f077e20fd46d644fbd94a3cec14.tar.gz portable-a64c42a09d094f077e20fd46d644fbd94a3cec14.tar.bz2 portable-a64c42a09d094f077e20fd46d644fbd94a3cec14.zip | |
add some backcompat in nc, don't install it
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/nc/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index ccb770a..a8e7a40 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
| 2 | 2 | ||
| 3 | bin_PROGRAMS = nc | 3 | if HAVE_POLL |
| 4 | |||
| 5 | noinst_PROGRAMS = nc | ||
| 4 | 6 | ||
| 5 | nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) | 7 | nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) |
| 6 | nc_LDADD += $(top_builddir)/tls/libtls.la | 8 | nc_LDADD += $(top_builddir)/tls/libtls.la |
| @@ -9,3 +11,9 @@ nc_SOURCES = atomicio.c | |||
| 9 | nc_SOURCES += netcat.c | 11 | nc_SOURCES += netcat.c |
| 10 | nc_SOURCES += socks.c | 12 | nc_SOURCES += socks.c |
| 11 | noinst_HEADERS = atomicio.h | 13 | noinst_HEADERS = atomicio.h |
| 14 | |||
| 15 | if !HAVE_STRTONUM | ||
| 16 | nc_SOURCES += compat/strtonum.c | ||
| 17 | endif | ||
| 18 | |||
| 19 | endif | ||
