pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nanotodon nanotodon: Needs -std=c99. Respect CFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa46e0fca73b
branches:  trunk
changeset: 414385:aa46e0fca73b
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 26 13:59:40 2020 +0000

description:
nanotodon: Needs -std=c99. Respect CFLAGS.

diffstat:

 net/nanotodon/Makefile               |   4 +++-
 net/nanotodon/distinfo               |   4 ++--
 net/nanotodon/patches/patch-Makefile |  13 +++++++------
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (62 lines):

diff -r aec9ae411dd2 -r aa46e0fca73b net/nanotodon/Makefile
--- a/net/nanotodon/Makefile    Thu Mar 26 13:54:35 2020 +0000
+++ b/net/nanotodon/Makefile    Thu Mar 26 13:59:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/03/08 16:50:56 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2020/03/26 13:59:40 nia Exp $
 
 GITHUB_TAG=    v0.1.1
 DISTNAME=      nanotodon-${GITHUB_TAG:S/v//}
@@ -11,6 +11,8 @@
 COMMENT=       CUI/C99 mastodon client
 LICENSE=       mit
 
+USE_LANGUAGES= c99
+
 INSTALLATION_DIRS+=    bin
 
 BUILD_TARGET=  default
diff -r aec9ae411dd2 -r aa46e0fca73b net/nanotodon/distinfo
--- a/net/nanotodon/distinfo    Thu Mar 26 13:54:35 2020 +0000
+++ b/net/nanotodon/distinfo    Thu Mar 26 13:59:40 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/02/21 06:00:26 tsutsui Exp $
+$NetBSD: distinfo,v 1.3 2020/03/26 13:59:40 nia Exp $
 
 SHA1 (nanotodon-0.1.1.tar.gz) = a7dbe3a923274ecf6efc0cd269daacc05cd5c229
 RMD160 (nanotodon-0.1.1.tar.gz) = c454cc9a28d74d0d31ce22a39a9009b4b9e096f9
 SHA512 (nanotodon-0.1.1.tar.gz) = 9dbc8618112eef4af18f71419a6e21be8ad4514aa0f321036564f0582678f85482860ec4503d8ab3d4f24ac78ca988d381a7f9f108dae4b120053c8a87b0a3ce
 Size (nanotodon-0.1.1.tar.gz) = 23593 bytes
-SHA1 (patch-Makefile) = 9d23b68d45da3dbef18311adc9135b56e59a7592
+SHA1 (patch-Makefile) = 4e2b783ccf1d112cba111b91ae119e3cdfb39763
diff -r aec9ae411dd2 -r aa46e0fca73b net/nanotodon/patches/patch-Makefile
--- a/net/nanotodon/patches/patch-Makefile      Thu Mar 26 13:54:35 2020 +0000
+++ b/net/nanotodon/patches/patch-Makefile      Thu Mar 26 13:59:40 2020 +0000
@@ -1,20 +1,21 @@
-$NetBSD: patch-Makefile,v 1.2 2020/02/21 06:00:26 tsutsui Exp $
+$NetBSD: patch-Makefile,v 1.3 2020/03/26 13:59:40 nia Exp $
 
 - Remove OS specific conditinal with GNU make extension
 - Misc options for pkgsrc builds.
 
 --- Makefile.orig      2020-02-21 04:51:47.000000000 +0000
 +++ Makefile
-@@ -3,19 +3,15 @@ OBJS_TARGET  = nanotodon.o config.o messa
+@@ -1,21 +1,13 @@
+ TARGET                = nanotodon
+ OBJS_TARGET   = nanotodon.o config.o messages.o
  
- CFLAGS = -g
- # optimization
+-CFLAGS = -g
+-# optimization
 -#CFLAGS+= -O2
-+CFLAGS+= -O2
  # Use $XDG_CONFIG_HOME or ~/.config dir to save config files
  CFLAGS+= -DSUPPORT_XDG_BASE_DIR
  
- LDFLAGS = 
+-LDFLAGS = 
 -ifeq ($(shell uname -s),Darwin)
 -      LIBS = -lcurl -ljson-c -lncurses -lpthread -lm
 -else



Home | Main Index | Thread Index | Old Index