Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562382
en ru br
ALT Linux repos
S:3.1.21-alt2

Group :: Communications
RPM: smstools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix-makefile-override.patch
Download


# Fix bug  #750350.
Index: smstools3/src/Makefile
===================================================================
--- smstools3.orig/src/Makefile	2017-05-10 13:15:29.909783813 +0200
+++ smstools3/src/Makefile	2017-05-10 13:16:06.759955345 +0200
@@ -49,16 +49,17 @@
 # Use the following only on GNU/Linux and only if you need ps listing like "smsd: MAINPROCESS" and "smsd: GSM1"
 # CFLAGS += -D USE_LINUX_PS_TRICK
 
-all: smsd 
-
-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 charshift.o
-
 ifneq (,$(findstring SOLARIS,$(CFLAGS)))
 ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
 	override LFLAGS += -lsocket -lnsl
 endif
 endif
 
+all: smsd
+
+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 charshift.o
+
+
 ifneq (,$(findstring NOSTATS,$(CFLAGS)))
 	$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS)
 else 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin