- Respect NOPORTDOCS.

This commit is contained in:
Alejandro Pulver 2009-02-06 00:00:40 +00:00
parent bb3e0dff39
commit 8055ca457e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227698

View file

@ -67,8 +67,9 @@ post-patch:
's|^(P_DOC_DIR=).*|\1${DOCSDIR:S/${PREFIX}\///}|' \
${WRKSRC}/gcc/p/Make-lang.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -Ee 's|^(PASCAL_INSTALL_DOC=).*|\1|' \
${WRKSRC}/gcc/p/Make-lang.in
@${REINPLACE_CMD} -e 's|^\(PASCAL_INSTALL_DOC=\).*|\1|; \
s|$$(p_inst_docdir) $$(p_inst_demodir) $$(p_inst_docdemodir)||' \
${WRKSRC}/gcc/p/Make-lang.in
.endif
post-install: