atftp: fix musl compile
[openadk.git] / package / atftp / patches / patch-test_Makefile
blobe822102d15e90e95dbedf69ff767e04b62f4795a
1 --- atftp-0.7.1.orig/test/Makefile      2012-09-04 07:32:19.000000000 +0200
2 +++ atftp-0.7.1/test/Makefile   2016-10-19 19:16:36.000000000 +0200
3 @@ -47,8 +47,8 @@ POST_INSTALL = :
4  NORMAL_UNINSTALL = :
5  PRE_UNINSTALL = :
6  POST_UNINSTALL = :
7 -build_triplet = x86_64-unknown-linux-gnu
8 -host_triplet = x86_64-unknown-linux-gnu
9 +build_triplet = x86_64-apple-darwin15.6.0
10 +host_triplet = arm-openadk-linux-musleabihf
11  subdir = test
12  DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
13  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
14 @@ -71,43 +71,43 @@ am__tty_colors_dummy = \
15    am__color_tests=no
16  am__tty_colors = $(am__tty_colors_dummy)
17  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
18 -ACLOCAL = ${SHELL} /home/martin/swbuild/atftp/git/atftp/missing --run aclocal-1.12
19 +ACLOCAL = ${SHELL} /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/missing --run aclocal-1.12
20  AMTAR = $${TAR-tar}
21 -AUTOCONF = ${SHELL} /home/martin/swbuild/atftp/git/atftp/missing --run autoconf
22 -AUTOHEADER = ${SHELL} /home/martin/swbuild/atftp/git/atftp/missing --run autoheader
23 -AUTOMAKE = ${SHELL} /home/martin/swbuild/atftp/git/atftp/missing --run automake-1.12
24 +AUTOCONF = ${SHELL} /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/missing --run autoconf
25 +AUTOHEADER = ${SHELL} /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/missing --run autoheader
26 +AUTOMAKE = ${SHELL} /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/missing --run automake-1.12
27  AWK = gawk
28 -CC = gcc
29 -CCDEPMODE = depmode=gcc3
30 +CC = /Users/wbx/fluor/toolchain_solidrun-imx6_musl_cortex_a9_hard_eabihf/usr/bin/arm-openadk-linux-musleabihf-gcc
31 +CCDEPMODE = depmode=none
32  CFLAGS = -g -Wall -D_REENTRANT -O2
33 -CPP = gcc -E
34 -CPPFLAGS = 
35 +CPP = /Users/wbx/fluor/toolchain_solidrun-imx6_musl_cortex_a9_hard_eabihf/usr/bin/arm-openadk-linux-musleabihf-gcc -E
36 +CPPFLAGS =  -DNDEBUG
37  CYGPATH_W = echo
38  DEFS = -DHAVE_CONFIG_H
39  DEPDIR = .deps
40  ECHO_C = 
41  ECHO_N = -n
42  ECHO_T = 
43 -EGREP = /bin/grep -E
44 +EGREP = /opt/local/bin/grep -E
45  EXEEXT = 
46 -GREP = /bin/grep
47 -INSTALL = /usr/bin/install -c
48 +GREP = /opt/local/bin/grep
49 +INSTALL = /Users/wbx/fluor/scripts/install -c
50  INSTALL_DATA = ${INSTALL} -m 644
51  INSTALL_PROGRAM = ${INSTALL}
52  INSTALL_SCRIPT = ${INSTALL}
53  INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
54 -ISODATE = 2012-09-04
55 -LDFLAGS = 
56 +ISODATE = 2016-10-19
57 +LDFLAGS = -L/Users/wbx/fluor/target_solidrun-imx6_musl_cortex_a9_hard_eabihf/lib -L/Users/wbx/fluor/target_solidrun-imx6_musl_cortex_a9_hard_eabihf/usr/lib -Wl,-O1 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Users/wbx/fluor/target_solidrun-imx6_musl_cortex_a9_hard_eabihf/usr/lib
58  LIBOBJS = 
59 -LIBPCRE = -lpcre
60 +LIBPCRE = 
61  LIBPTHREAD = -lpthread
62 -LIBREADLINE = -lreadline
63 +LIBREADLINE = 
64  LIBS = 
65  LIBTERMCAP = 
66 -LIBWRAP = -lnsl -lwrap
67 +LIBWRAP = 
68  LTLIBOBJS = 
69 -MAKEINFO = ${SHELL} /home/martin/swbuild/atftp/git/atftp/missing --run makeinfo
70 -MKDIR_P = /bin/mkdir -p
71 +MAKEINFO = ${SHELL} /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/missing --run makeinfo
72 +MKDIR_P = /opt/local/bin/gmkdir -p
73  OBJEXT = o
74  PACKAGE = atftp
75  PACKAGE_BUGREPORT = 
76 @@ -117,58 +117,58 @@ PACKAGE_TARNAME = 
77  PACKAGE_URL = 
78  PACKAGE_VERSION = 
79  PATH_SEPARATOR = :
80 -PLATFORM = unknown-x86_64-linux-gnu
81 +PLATFORM = openadk-arm-linux-musleabihf
82  SET_MAKE = 
83 -SHELL = /bin/sh
84 -STRIP = 
85 +SHELL = /opt/local/bin/bash
86 +STRIP = /Users/wbx/fluor/toolchain_solidrun-imx6_musl_cortex_a9_hard_eabihf/usr/bin/arm-openadk-linux-musleabihf-strip
87  VERSION = 0.7.1
88 -abs_builddir = /home/martin/swbuild/atftp/git/atftp/test
89 -abs_srcdir = /home/martin/swbuild/atftp/git/atftp/test
90 -abs_top_builddir = /home/martin/swbuild/atftp/git/atftp
91 -abs_top_srcdir = /home/martin/swbuild/atftp/git/atftp
92 -ac_ct_CC = gcc
93 +abs_builddir = /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/test
94 +abs_srcdir = /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/test
95 +abs_top_builddir = /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1
96 +abs_top_srcdir = /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1
97 +ac_ct_CC = 
98  am__include = include
99  am__leading_dot = .
100  am__quote = 
101  am__tar = $${TAR-tar} chof - "$$tardir"
102  am__untar = $${TAR-tar} xf -
103 -bindir = ${exec_prefix}/bin
104 -build = x86_64-unknown-linux-gnu
105 -build_alias = 
106 +bindir = /usr/bin
107 +build = x86_64-apple-darwin15.6.0
108 +build_alias = x86_64-apple-darwin15.6.0
109  build_cpu = x86_64
110 -build_os = linux-gnu
111 -build_vendor = unknown
112 +build_os = darwin15.6.0
113 +build_vendor = apple
114  builddir = .
115 -datadir = ${datarootdir}
116 +datadir = /usr/share
117  datarootdir = ${prefix}/share
118  docdir = ${datarootdir}/doc/${PACKAGE}
119  dvidir = ${docdir}
120  exec_prefix = ${prefix}
121 -host = x86_64-unknown-linux-gnu
122 -host_alias = 
123 -host_cpu = x86_64
124 -host_os = linux-gnu
125 -host_vendor = unknown
126 +host = arm-openadk-linux-musleabihf
127 +host_alias = arm-openadk-linux-musleabihf
128 +host_cpu = arm
129 +host_os = linux-musleabihf
130 +host_vendor = openadk
131  htmldir = ${docdir}
132  includedir = ${prefix}/include
133  infodir = ${datarootdir}/info
134 -install_sh = ${SHELL} /home/martin/swbuild/atftp/git/atftp/install-sh
135 +install_sh = ${SHELL} /Users/wbx/fluor/build_solidrun-imx6_musl_cortex_a9_hard_eabihf/w-atftp-0.7.1-1/atftp-0.7.1/install-sh
136  libdir = ${exec_prefix}/lib
137 -libexecdir = ${exec_prefix}/libexec
138 +libexecdir = /usr/libexec
139  localedir = ${datarootdir}/locale
140 -localstatedir = ${prefix}/var
141 -mandir = ${datarootdir}/man
142 +localstatedir = /var
143 +mandir = /usr/share/man
144  mkdir_p = $(MKDIR_P)
145  oldincludedir = /usr/include
146  pdfdir = ${docdir}
147 -prefix = /usr/local
148 -program_transform_name = s,x,x,
149 +prefix = /usr
150 +program_transform_name = s&$$&&;s&^&&
151  psdir = ${docdir}
152  sbindir = ${exec_prefix}/sbin
153  sharedstatedir = ${prefix}/com
154  srcdir = .
155 -sysconfdir = ${prefix}/etc
156 -target_alias = 
157 +sysconfdir = /etc
158 +target_alias = arm-openadk-linux-musleabihf
159  top_build_prefix = ../
160  top_builddir = ..
161  top_srcdir = ..