pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Jun 21 14:42:55 UTC 2017

Modified Files:
        pkgsrc/devel/ruby-railties32: Makefile
        pkgsrc/devel/ruby-railties42: Makefile

Log Message:
Fix test conditional in pre-configure rule.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/ruby-railties32/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ruby-railties42/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-railties32/Makefile
diff -u pkgsrc/devel/ruby-railties32/Makefile:1.13 pkgsrc/devel/ruby-railties32/Makefile:1.14
--- pkgsrc/devel/ruby-railties32/Makefile:1.13  Wed Jun 21 13:13:48 2017
+++ pkgsrc/devel/ruby-railties32/Makefile       Wed Jun 21 14:42:55 2017
@@ -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 @@ OVERRIDE_GEMSPEC+=    rack-ssl>=1.3.2 rdoc>
                        :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
 

Index: pkgsrc/devel/ruby-railties42/Makefile
diff -u pkgsrc/devel/ruby-railties42/Makefile:1.3 pkgsrc/devel/ruby-railties42/Makefile:1.4
--- pkgsrc/devel/ruby-railties42/Makefile:1.3   Wed Jun 21 13:13:48 2017
+++ pkgsrc/devel/ruby-railties42/Makefile       Wed Jun 21 14:42:55 2017
@@ -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 @@ OVERRIDE_GEMSPEC+=    rack-ssl>=1.3.2 rdoc>
                        :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