Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/lua lang/module.mk: using rm: is probably more po...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90cf9d0f7f55
branches:  trunk
changeset: 435678:90cf9d0f7f55
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jul 11 15:33:51 2020 +0000

description:
lang/module.mk: using rm: is probably more portable here

diffstat:

 lang/lua/module.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r b7ae5e3fe7f6 -r 90cf9d0f7f55 lang/lua/module.mk
--- a/lang/lua/module.mk        Sat Jul 11 15:30:52 2020 +0000
+++ b/lang/lua/module.mk        Sat Jul 11 15:33:51 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.10 2020/07/11 15:30:52 nia Exp $
+# $NetBSD: module.mk,v 1.11 2020/07/11 15:33:51 nia Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # install Lua modules.
@@ -78,9 +78,9 @@
 .if ${_LUA_VERSION} != "51" && ${_LUA_VERSION} != "52"
 # Any Lua>=5.3 module using these flags is invalid,
 # since Lua 5.3 and newer require "long long".
-BUILDLINK_TRANSFORM+=  opt:-ansi:-std=c99
-BUILDLINK_TRANSFORM+=  opt:-std=c89:-std=c99
-BUILDLINK_TRANSFORM+=  opt:-std=c90:-std=c99
+BUILDLINK_TRANSFORM+=  rm:-ansi
+BUILDLINK_TRANSFORM+=  rm:-std=c89
+BUILDLINK_TRANSFORM+=  rm:-std=c90
 .endif
 
 .endif  # LUA_MODULE_MK



Home | Main Index | Thread Index | Old Index