diff options
author | jlam <jlam> | 2008-03-12 20:27:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-12 20:27:08 +0000 |
commit | 99588d6f30d0b0af84cbf5ac534422fa1660e22d (patch) | |
tree | 1bf2256c69d02f9bac58410e83bb122c051ed43c /misc/rubygems | |
parent | 4d77229ef7a51f15e5f27260e1ea0bcb1f471e74 (diff) | |
download | pkgsrc-99588d6f30d0b0af84cbf5ac534422fa1660e22d.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/rubygems')
-rw-r--r-- | misc/rubygems/rubygem.mk | 3 |
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; } |