The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / smstools3 / 0001-fix-Makefile.patch
1 Makefile: fix rules
2
3 In a Makefile, recipes should follow rules, there can not be variable
4 definitions in-between.
5
6 Although make-3.81 is happy about it, make-4.0 (and probably 3.82 too)
7 do whine loudly.
8
9 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10
11 diff -durN smstools3-3.1.15.orig/src/Makefile smstools3-3.1.15/src/Makefile
12 --- smstools3-3.1.15.orig/src/Makefile  2010-09-21 13:29:14.000000000 +0200
13 +++ smstools3-3.1.15/src/Makefile       2014-09-01 22:27:02.719939329 +0200
14 @@ -39,14 +39,13 @@
15  
16  all: smsd 
17  
18 -smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
19 -
20  ifneq (,$(findstring SOLARIS,$(CFLAGS)))
21  ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
22  override LFLAGS += -lsocket -lnsl
23  endif
24  endif
25  
26 +smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
27  ifneq (,$(findstring NOSTATS,$(CFLAGS)))
28         $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS)
29  else