- Avoid creating an empty %%DOCSDIR%% when not installing docs (NOPORTDOCS).

Reported by:	QA Tindy
This commit is contained in:
Alejandro Pulver 2008-08-11 02:37:23 +00:00
parent 729f218c1a
commit 86c8fdbac4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218390

View File

@ -38,7 +38,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
post-patch:
@${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -Ee 's|^(dist_doc_DATA =) .*|\1|' \
@${REINPLACE_CMD} -Ee 's|^install-dist_docDATA$$||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|^install: install-am|install:|' \
${WRKSRC}/doc/Makefile.in