summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-12 20:27:08 +0000
committerjlam <jlam@pkgsrc.org>2008-03-12 20:27:08 +0000
commit57fd7ef1e94a5fc55e4eba3996415b580e207051 (patch)
tree1bf2256c69d02f9bac58410e83bb122c051ed43c /misc
parent6d0c4a966f45e671707fcdbac477748e37b865cb (diff)
downloadpkgsrc-57fd7ef1e94a5fc55e4eba3996415b580e207051.tar.gz
Skip printing "@dirrm lib/ruby/gems" in the print-PLIST output.
Now, print-PLIST with USE_DESTDIR=full will generate the correct PLISTs for rubygems.
Diffstat (limited to 'misc')
-rw-r--r--misc/rubygems/rubygem.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/rubygems/rubygem.mk b/misc/rubygems/rubygem.mk
index 235d3706ae8..0c68c1fc3cc 100644
--- a/misc/rubygems/rubygem.mk
+++ b/misc/rubygems/rubygem.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rubygem.mk,v 1.6 2008/03/12 20:08:22 jlam Exp $
+# $NetBSD: rubygem.mk,v 1.7 2008/03/12 20:27:08 jlam Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install Ruby gems.
@@ -91,6 +91,7 @@ PRINT_PLIST_AWK+= /^(@dirrm )?${GEM_DOCDIR:S|${PREFIX}/||:S|/|\\/|g}/ \
{ next; }
PRINT_PLIST_AWK+= /^@dirrm ${GEM_HOME:S|${PREFIX}/||:S|/|\\/|g}(\/(gems|cache|doc|specifications))?$$/ \
{ next; }
+PRINT_PLIST_AWK+= /^@dirrm lib\/ruby\/gems$$/ { next; }
PRINT_PLIST_AWK+= /^(@dirrm )?${GEM_HOME:S|${PREFIX}/||:S|/|\\/|g}/ \
{ gsub(/${GEM_HOME:S|${PREFIX}/||:S|/|\\/|g}/, "$${GEM_HOME}"); print; next; }