summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2007-04-06 14:47:51 +0000
committertaca <taca>2007-04-06 14:47:51 +0000
commitefa965a95828abeddf4c1dddb7221cdc63257d7f (patch)
treeaf0031fb64d337faf9c2ccde3d1cb688c4ea965e /lang
parent2c2c2ed59322504a8297df7c84b413baea1ac2b5 (diff)
downloadpkgsrc-efa965a95828abeddf4c1dddb7221cdc63257d7f.tar.gz
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 (limited to 'lang')
-rw-r--r--lang/ruby18-base/INSTALL5
-rw-r--r--lang/ruby18-base/Makefile3
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/ruby18-base/INSTALL b/lang/ruby18-base/INSTALL
index c97ca01557b..748e3b265e6 100644
--- a/lang/ruby18-base/INSTALL
+++ b/lang/ruby18-base/INSTALL
@@ -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 --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile
index 5a221ef35ff..a3fdcf191b5 100644
--- a/lang/ruby18-base/Makefile
+++ b/lang/ruby18-base/Makefile
@@ -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}