pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby Fix RUBY_DYNAMIC_DIRS to DESTDIR ready.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/262e9f0caacf
branches:  trunk
changeset: 537651:262e9f0caacf
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Jan 13 09:09:13 2008 +0000

description:
Fix RUBY_DYNAMIC_DIRS to DESTDIR ready.
Now ruby18-base really support DESTDIR.

diffstat:

 lang/ruby/rubyversion.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 56494ed42b3b -r 262e9f0caacf lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Sun Jan 13 06:23:40 2008 +0000
+++ b/lang/ruby/rubyversion.mk  Sun Jan 13 09:09:13 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.36 2007/10/06 06:12:19 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.37 2008/01/13 09:09:13 obache Exp $
 #
 
 .if !defined(_RUBYVERSION_MK)
@@ -269,10 +269,10 @@
 
 RUBY_PLIST_COMMENT_CMD= \
        ${ECHO} "@comment The following lines are automatically generated"
-RUBY_PLIST_FILES_CMD= ( cd ${PREFIX}; \
+RUBY_PLIST_FILES_CMD= ( cd ${DESTDIR}${PREFIX}; \
        ${FIND} ${RUBY_DYNAMIC_DIRS} \( -type f -o -type l \) -print ) | \
        ${SORT} -u
-RUBY_PLIST_DIRS_CMD= ( cd ${PREFIX}; \
+RUBY_PLIST_DIRS_CMD= ( cd ${DESTDIR}${PREFIX}; \
        ${FIND} ${RUBY_DYNAMIC_DIRS} -type d -print ) | ${SORT} -ru | \
        ${SED} -e 's|^|@dirrm |'
 RUBY_GENERATE_PLIST =  ( \



Home | Main Index | Thread Index | Old Index