pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-eruby The ruby binary is not a script. I...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18db3f7015d1
branches:  trunk
changeset: 526717:18db3f7015d1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Mar 17 17:29:01 2007 +0000

description:
The ruby binary is not a script. It's a binary. Fixes the following
error message:

=> Checking for portability problems in extracted files
/usr/pkg/bin/ruby18: 1: Syntax error: "(" unexpected

diffstat:

 textproc/ruby-eruby/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ce914d976e77 -r 18db3f7015d1 textproc/ruby-eruby/Makefile
--- a/textproc/ruby-eruby/Makefile      Sat Mar 17 17:17:33 2007 +0000
+++ b/textproc/ruby-eruby/Makefile      Sat Mar 17 17:29:01 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/07/09 15:08:30 taca Exp $
+# $NetBSD: Makefile,v 1.21 2007/03/17 17:29:01 rillig Exp $
 
 DISTNAME=      eruby-${ERUBY_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -16,7 +16,8 @@
 RUBY_HAS_ARCHLIB=      yes
 ERUBY_VERSION=         1.0.5
 HAS_CONFIGURE=         yes
-CONFIGURE_SCRIPT=      ${RUBY} configure.rb
+CONFIG_SHELL=          ${RUBY}
+CONFIGURE_SCRIPT=      configure.rb
 CONFIGURE_ARGS+=       --enable-shared \
                        --with-charset=${ERUBY_DEFAULT_CHARSET:Q}
 INSTALL_TARGET=                site-install



Home | Main Index | Thread Index | Old Index