From 552b01f86ad0054b57836fa7af9688bb87a6bb5d Mon Sep 17 00:00:00 2001 From: stas Date: Fri, 13 Feb 2009 20:41:33 +0000 Subject: - Do not try to add docs in PLIST in NOPORTDOCS case. Pointy hat to: me --- devel/ruby-gems/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devel') diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile index e116f2b90ec5..0e13af6267eb 100644 --- a/devel/ruby-gems/Makefile +++ b/devel/ruby-gems/Makefile @@ -55,11 +55,13 @@ post-install: @${TOUCH} ${PREFIX}/${GEMS_DOC_BASE_DIR}/.keep_this @${LN} -sf ${PREFIX}/bin/gem18 ${PREFIX}/bin/gem +.if !defined(NOPORTDOCS) @${FIND} -ds ${PREFIX}/lib/ruby/gems/${RUBY_VER}/doc/${DISTNAME} \ -type f -print | ${SED} -E -e 's,^${PREFIX}/?,,' >> ${TMPPLIST} @${FIND} -ds ${PREFIX}/lib/ruby/gems/${RUBY_VER}/doc/${DISTNAME} \ -type d -print | ${SED} -E -e 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems/${RUBY_VER}/doc 2>/dev/null || true" >> ${TMPPLIST} +.endif @${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems/${RUBY_VER} 2>/dev/null || true" >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems 2>/dev/null || true" >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/lib/ruby 2>/dev/null || true" >> ${TMPPLIST} -- cgit