pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Fix test conditional in pre-configure rule.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ffb70598fd7
branches:  trunk
changeset: 364190:2ffb70598fd7
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Jun 21 14:42:55 2017 +0000

description:
Fix test conditional in pre-configure rule.

diffstat:

 devel/ruby-railties32/Makefile |  4 ++--
 devel/ruby-railties42/Makefile |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ff5b057aa60c -r 2ffb70598fd7 devel/ruby-railties32/Makefile
--- a/devel/ruby-railties32/Makefile    Wed Jun 21 14:32:14 2017 +0000
+++ b/devel/ruby-railties32/Makefile    Wed Jun 21 14:42:55 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/06/21 13:13:48 taca Exp $
+# $NetBSD: Makefile,v 1.14 2017/06/21 14:42:55 taca Exp $
 
 DISTNAME=      railties-${RAILS_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-railties${RUBY_RAILS}-${RAILS_VERSION}
@@ -22,7 +22,7 @@
                        :executables rails=rails32 :files bin/rails=bin/rails32
 
 pre-configure:
-       ${TEST} ! -f ${WRKSRC}/bin/rails || \
+       ${TEST} -f ${WRKSRC}/bin/rails32 || \
                ${MV} ${WRKSRC}/bin/rails ${WRKSRC}/bin/rails32
        ${CHMOD} ${BINMODE} ${WRKSRC}/bin/rails32
 
diff -r ff5b057aa60c -r 2ffb70598fd7 devel/ruby-railties42/Makefile
--- a/devel/ruby-railties42/Makefile    Wed Jun 21 14:32:14 2017 +0000
+++ b/devel/ruby-railties42/Makefile    Wed Jun 21 14:42:55 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/06/21 13:13:48 taca Exp $
+# $NetBSD: Makefile,v 1.4 2017/06/21 14:42:55 taca Exp $
 
 DISTNAME=      railties-${RAILS_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-railties${RUBY_RAILS}-${RAILS_VERSION}
@@ -21,7 +21,7 @@
                        :executables rails=rails42 :files bin/rails=bin/rails42
 
 pre-configure:
-       ${TEST} ! -f ${WRKSRC}/bin/rails || \
+       ${TEST} -f ${WRKSRC}/bin/rails42 || \
                ${MV} ${WRKSRC}/bin/rails ${WRKSRC}/bin/rails42
        ${CHMOD} ${BINMODE} ${WRKSRC}/bin/rails42
 



Home | Main Index | Thread Index | Old Index