Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/lua-cjson lua-cjson: Respect CFLAGS
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d0acb6bbb85
branches: trunk
changeset: 435535:3d0acb6bbb85
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jul 08 17:11:52 2020 +0000
description:
lua-cjson: Respect CFLAGS
diffstat:
textproc/lua-cjson/Makefile | 6 +++---
textproc/lua-cjson/PLIST | 2 +-
textproc/lua-cjson/distinfo | 3 ++-
textproc/lua-cjson/patches/patch-Makefile | 15 +++++++++++++++
4 files changed, 21 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r 872b7ac464ac -r 3d0acb6bbb85 textproc/lua-cjson/Makefile
--- a/textproc/lua-cjson/Makefile Wed Jul 08 17:00:29 2020 +0000
+++ b/textproc/lua-cjson/Makefile Wed Jul 08 17:11:52 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2020/07/02 10:26:19 nia Exp $
+# $NetBSD: Makefile,v 1.6 2020/07/08 17:11:52 nia Exp $
DISTNAME= lua-cjson-2.1.0
-PKGNAME= ${LUA_PKGPREFIX}-cjson-2.1.0
-PKGREVISION= 2
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
+PKGREVISION= 3
CATEGORIES= textproc lua
MASTER_SITES= http://www.kyne.com.au/~mark/software/download/
diff -r 872b7ac464ac -r 3d0acb6bbb85 textproc/lua-cjson/PLIST
--- a/textproc/lua-cjson/PLIST Wed Jul 08 17:00:29 2020 +0000
+++ b/textproc/lua-cjson/PLIST Wed Jul 08 17:11:52 2020 +0000
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2014/03/22 13:44:02 imil Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/08 17:11:52 nia Exp $
${LUA_CDIR}/cjson.so
diff -r 872b7ac464ac -r 3d0acb6bbb85 textproc/lua-cjson/distinfo
--- a/textproc/lua-cjson/distinfo Wed Jul 08 17:00:29 2020 +0000
+++ b/textproc/lua-cjson/distinfo Wed Jul 08 17:11:52 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:59:39 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/07/08 17:11:52 nia Exp $
SHA1 (lua-cjson-2.1.0.tar.gz) = 48f5546b28059c68545a7fb76146540df8be266c
RMD160 (lua-cjson-2.1.0.tar.gz) = badd55a5a2ec0ec544938ceeb62d1d9e0b6bd175
SHA512 (lua-cjson-2.1.0.tar.gz) = 4343513b942f2ed98dc1ea6d7e852303bc1263f8acc5c70c8d674aec7adfc8279c5af7d5173a417b6f9a74543b8f6c8f98742d002f4f75832bbf23bb5a30ad2f
Size (lua-cjson-2.1.0.tar.gz) = 86024 bytes
+SHA1 (patch-Makefile) = 2c29aaaf8f731a73a58f9a5f0712819cb9a0cd3f
diff -r 872b7ac464ac -r 3d0acb6bbb85 textproc/lua-cjson/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-cjson/patches/patch-Makefile Wed Jul 08 17:11:52 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2020/07/08 17:11:52 nia Exp $
+
+Respect CFLAGS.
+
+--- Makefile.orig 2012-03-01 12:22:50.000000000 +0000
++++ Makefile
+@@ -15,7 +15,7 @@ LUA_VERSION = 5.1
+ TARGET = cjson.so
+ PREFIX = /usr/local
+ #CFLAGS = -g -Wall -pedantic -fno-inline
+-CFLAGS = -O3 -Wall -pedantic -DNDEBUG
++CFLAGS += -Wall -pedantic -DNDEBUG
+ CJSON_CFLAGS = -fpic
+ CJSON_LDFLAGS = -shared
+ LUA_INCLUDE_DIR = $(PREFIX)/include
Home |
Main Index |
Thread Index |
Old Index