pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby/rails.mk: use expr instead of ${EXPR}
details: https://anonhg.NetBSD.org/pkgsrc/rev/2886d9cf8297
branches: trunk
changeset: 384651:2886d9cf8297
user: taca <taca%pkgsrc.org@localhost>
date: Sat Sep 03 13:15:06 2022 +0000
description:
lang/ruby/rails.mk: use expr instead of ${EXPR}
Since rails.mk might be used before ${EXPR} is defined, use expr
instead of ${EXPR}.
diffstat:
lang/ruby/rails.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r df3f50cbef29 -r 2886d9cf8297 lang/ruby/rails.mk
--- a/lang/ruby/rails.mk Sat Sep 03 13:04:32 2022 +0000
+++ b/lang/ruby/rails.mk Sat Sep 03 13:15:06 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rails.mk,v 1.132 2022/07/13 14:48:47 taca Exp $
+# $NetBSD: rails.mk,v 1.133 2022/09/03 13:15:06 taca Exp $
.if !defined(_RUBY_RAILS_MK)
_RUBY_RAILS_MK= # defined
@@ -113,11 +113,11 @@
#
.if !empty(RUBY_RAILS_STRICT_DEP:M[yY][eE][sS])
-_RAILS_NEXT!= ${EXPR} ${_RAILS_TEENY} + 1
+_RAILS_NEXT!= expr ${_RAILS_TEENY} + 1
_RAILS_DEP= \
${RUBY_RAILS}>=${RAILS_VERSION}<${_RAILS_MAJOR}.${_RAILS_MINOR}.${_RAILS_NEXT}
.else
-_RAILS_NEXT!= ${EXPR} ${_RAILS_MINOR} + 1
+_RAILS_NEXT!= expr ${_RAILS_MINOR} + 1
_RAILS_DEP= ${RUBY_RAILS}>=${RAILS_VERSION}<${_RAILS_MAJOR}.${_RAILS_NEXT}
.endif
Home |
Main Index |
Thread Index |
Old Index