diff options
author | obache <obache@pkgsrc.org> | 2008-01-13 09:09:13 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-01-13 09:09:13 +0000 |
commit | b1e4ec8ec7783dcc72cd59f883a775eac6613276 (patch) | |
tree | 9ea850d399eb7c5260367674c7dc864d68b0ecc7 /lang/ruby | |
parent | 84f86445dd850f35c0e5c4d15ef2255a92ea1860 (diff) | |
download | pkgsrc-b1e4ec8ec7783dcc72cd59f883a775eac6613276.tar.gz |
Fix RUBY_DYNAMIC_DIRS to DESTDIR ready.
Now ruby18-base really support DESTDIR.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/rubyversion.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 33c92fa91ee..42b56038f19 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -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 @@ PLIST_SRC+= ${PKGDIR}/PLIST.common_end 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 = ( \ |