diff options
-rw-r--r-- | lang/ruby/modules.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk index f6e49bd43fc..b866110bc7a 100644 --- a/lang/ruby/modules.mk +++ b/lang/ruby/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.7 2005/04/02 05:10:10 minskim Exp $ +# $NetBSD: modules.mk,v 1.8 2005/04/10 00:57:58 minskim Exp $ .if !defined(_RUBY_MODULE_MK) _RUBY_MODULE_MK= # defined @@ -142,4 +142,11 @@ ruby-simple-install: .include "replace.mk" +PRINT_PLIST_AWK+= /^@dirrm lib\/ruby$$/ { next; } +PRINT_PLIST_AWK+= /^@dirrm ${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \ + { next; } +PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \ + { gsub(/${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_SITELIBDIR}"); \ + print; next; } + .endif |