openbsd-ports/lang/ruby/1.9/patches/patch-common_mk
jeremy ae714b5407 Add no_ri_docs PSUEDO_FLAVOR to skip building the ri documentation,
which should allow building on arches without enough memory to
generate the ri files.  Also, set PKG_ARCH=* for the ri_docs
subpackage, so that such arches can still use the documentation,
idea from sthen@. Original idea for PSUEDO_FLAVOR from phessler@.

OK sthen@
2011-11-15 00:04:15 +00:00

16 lines
568 B
Plaintext

$OpenBSD: patch-common_mk,v 1.3 2011/11/15 00:04:15 jeremy Exp $
Don't regenerate rdoc documentation during install.
--- common.mk.orig Mon Nov 14 05:01:15 2011
+++ common.mk Mon Nov 14 05:01:18 2011
@@ -393,7 +393,7 @@ dont-install-man: $(PREP)
post-no-install-man::
@$(NULLCMD)
-install-doc: rdoc pre-install-doc do-install-doc post-install-doc
+install-doc: pre-install-doc do-install-doc post-install-doc
pre-install-doc:: install-prereq
do-install-doc: $(PROGRAM)
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"