pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby18-base Fix INSTALL script to check proper di...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2af0250416a
branches:  trunk
changeset: 527336:d2af0250416a
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Apr 06 14:47:51 2007 +0000

description:
Fix INSTALL script to check proper directory; not RUBY_SYSRIDIR but
RUBY_SITERIDIR.

It fixes install error of textproc/ruby-redcloth when ruby18-base didn't
biild with ruby-build-ri-db option.

Noted by obache@ via private mail and approved by wiz@.

Bump PKGREVISION.

diffstat:

 lang/ruby18-base/INSTALL  |  5 ++---
 lang/ruby18-base/Makefile |  3 ++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 0a401476cdd1 -r d2af0250416a lang/ruby18-base/INSTALL
--- a/lang/ruby18-base/INSTALL  Fri Apr 06 14:46:10 2007 +0000
+++ b/lang/ruby18-base/INSTALL  Fri Apr 06 14:47:51 2007 +0000
@@ -1,14 +1,13 @@
-# $NetBSD: INSTALL,v 1.2 2007/01/28 15:15:58 taca Exp $
+# $NetBSD: INSTALL,v 1.3 2007/04/06 14:47:51 taca Exp $
 
 DATE="@DATE@"
 PREFIX="@PREFIX@"
 RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
-RUBY_SYSRIDIR="${PREFIX}/@RUBY_SYSRIDIR@"
 rid="${RUBY_SITERIDIR}/created.rid"
 
 case ${STAGE} in
 POST-INSTALL)
-       if [ -d ${RUBY_SYSRIDIR} ]; then
+       if [ -d ${RUBY_SITERIDIR} ]; then
                ${DATE} > ${rid}
        fi
        ;;
diff -r 0a401476cdd1 -r d2af0250416a lang/ruby18-base/Makefile
--- a/lang/ruby18-base/Makefile Fri Apr 06 14:46:10 2007 +0000
+++ b/lang/ruby18-base/Makefile Fri Apr 06 14:47:51 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2007/03/15 16:41:29 taca Exp $
+# $NetBSD: Makefile,v 1.32 2007/04/06 14:47:52 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
+PKGREVISION=   1
 PKGNAME=       ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}



Home | Main Index | Thread Index | Old Index