pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/ruby-oauth Use --format-executable to avoid c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59fc96c5453b
branches:  trunk
changeset: 585710:59fc96c5453b
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Feb 25 06:35:23 2011 +0000

description:
Use --format-executable to avoid conflicts with ruby variants each other.

Bump PKGREVISION.

diffstat:

 security/ruby-oauth/ALTERNATIVES |  1 +
 security/ruby-oauth/Makefile     |  5 ++++-
 security/ruby-oauth/PLIST        |  4 ++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r d6cb1ba40cfd -r 59fc96c5453b security/ruby-oauth/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-oauth/ALTERNATIVES  Fri Feb 25 06:35:23 2011 +0000
@@ -0,0 +1,1 @@
+bin/oauth @PREFIX@/bin/oauth@RUBY_VER@
diff -r d6cb1ba40cfd -r 59fc96c5453b security/ruby-oauth/Makefile
--- a/security/ruby-oauth/Makefile      Fri Feb 25 02:35:12 2011 +0000
+++ b/security/ruby-oauth/Makefile      Fri Feb 25 06:35:23 2011 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2010/11/01 04:02:26 obache Exp $
+# $NetBSD: Makefile,v 1.7 2011/02/25 06:35:23 obache Exp $
 
 DISTNAME=      oauth-0.4.4
+PKGREVISION=   1
 CATEGORIES=    security
 
 MAINTAINER=    obache%NetBSD.org@localhost
@@ -9,5 +10,7 @@
 COMMENT=       OAuth Core Ruby implementation
 LICENSE=       mit
 
+RUBYGEM_OPTIONS+=      --format-executable
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d6cb1ba40cfd -r 59fc96c5453b security/ruby-oauth/PLIST
--- a/security/ruby-oauth/PLIST Fri Feb 25 02:35:12 2011 +0000
+++ b/security/ruby-oauth/PLIST Fri Feb 25 06:35:23 2011 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2010/08/14 02:55:24 obache Exp $
-bin/oauth
+@comment $NetBSD: PLIST,v 1.3 2011/02/25 06:35:23 obache Exp $
+bin/oauth${RUBY_VER}
 ${GEM_HOME}/cache/oauth-${PKGVERSION}.gem
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/Gemfile



Home | Main Index | Thread Index | Old Index