diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2016-11-02 11:29:28 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-11-02 11:29:28 +0000 |
commit | ad3225e3499816421f0dd0763d7c30d5f1a7a57f (patch) | |
tree | 89ef722244fefd6316d4fd5457d479df0944a8c3 /comms/smstools3/files/patch-src-Makefile | |
parent | java/jakarta-commons-collections: (diff) |
- Add UTF8 option [1]
- Patch sendsms script to correctly parse iconv command output [2]
While here:
- Add TIMESTAMP to distinfo
- Regenerate patches
- Unsilence post-install target
PR: 205973 [1], 205978 [2]
Submitted by: satorium77@gmail.com
Diffstat (limited to 'comms/smstools3/files/patch-src-Makefile')
-rw-r--r-- | comms/smstools3/files/patch-src-Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/comms/smstools3/files/patch-src-Makefile b/comms/smstools3/files/patch-src-Makefile index ed41d81adb7e..ad904e1b18a4 100644 --- a/comms/smstools3/files/patch-src-Makefile +++ b/comms/smstools3/files/patch-src-Makefile @@ -1,5 +1,5 @@ ---- src/Makefile.orig 2010-06-16 14:02:36.000000000 +0200 -+++ src/Makefile 2010-07-06 22:00:30.303633098 +0200 +--- src/Makefile.orig 2010-09-21 11:29:14 UTC ++++ src/Makefile @@ -1,7 +1,7 @@ # In case of windows, use os_cygwin=yes setting in the configuration file (smsd.conf). @@ -9,7 +9,7 @@ # Uncomment for Solaris # CFLAGS += -D SOLARIS -@@ -9,7 +9,7 @@ +@@ -9,13 +9,13 @@ CFLAGS = -D NUMBER_OF_MODEMS=64 # CC=gcc # Comment this out, to enable statistics @@ -18,12 +18,28 @@ # Comment this out if iconv is not available on the system #CFLAGS += -D USE_ICONV -@@ -50,7 +50,7 @@ + + # Uncomment this is iconv is used and it's not included in libc: +-#LFLAGS += -liconv ++#LDFLAGS += -liconv + + # Uncomment this to force smsd to run in terminal mode + #CFLAGS += -D TERMINAL +@@ -43,14 +43,14 @@ smsd: smsd.c extras.o locking.o cfgfile. + + ifneq (,$(findstring SOLARIS,$(CFLAGS))) + ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS))) +-override LFLAGS += -lsocket -lnsl ++override LDFLAGS += -lsocket -lnsl + endif + endif + ifneq (,$(findstring NOSTATS,$(CFLAGS))) - $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) +- $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) ++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) else - $(CC) `mm-config --cflags` $(CFLAGS) -o $@ $^ `mm-config --ldflags --libs` $(LFLAGS) -+ $(CC) `$(LOCALBASE)/bin/mm-config --cflags` $(CFLAGS) -o $@ $^ `$(LOCALBASE)/bin/mm-config --ldflags --libs` $(LFLAGS) ++ $(CC) `$(LOCALBASE)/bin/mm-config --cflags` $(CFLAGS) -o $@ $^ `$(LOCALBASE)/bin/mm-config --ldflags --libs` $(LDFLAGS) endif clean: |