pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ruby
Module Name: pkgsrc
Committed By: taca
Date: Sat Sep 3 13:15:06 UTC 2022
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby/rails.mk: use expr instead of ${EXPR}
Since rails.mk might be used before ${EXPR} is defined, use expr
instead of ${EXPR}.
To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 pkgsrc/lang/ruby/rails.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ruby/rails.mk
diff -u pkgsrc/lang/ruby/rails.mk:1.132 pkgsrc/lang/ruby/rails.mk:1.133
--- pkgsrc/lang/ruby/rails.mk:1.132 Wed Jul 13 14:48:47 2022
+++ pkgsrc/lang/ruby/rails.mk Sat Sep 3 13:15:06 2022
@@ -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 @@ _RAILS_TEENY= ${RAILS_VERSION:C/([0-9]+)
#
.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