diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-08-11 02:37:23 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-08-11 02:37:23 +0000 |
commit | 86c8fdbac4246abe8253508c2f74e9543249af94 (patch) | |
tree | 23cc3bfbbabb748b699e86b0a4720f23781d16ad /games | |
parent | 729f218c1aa7a8ecd1d72f0959e4e20b0f2b4296 (diff) | |
download | ports-86c8fdbac4246abe8253508c2f74e9543249af94.tar.gz ports-86c8fdbac4246abe8253508c2f74e9543249af94.zip |
- Avoid creating an empty %%DOCSDIR%% when not installing docs (NOPORTDOCS).
Reported by: QA Tindy
Notes
Notes:
svn path=/head/; revision=218390
Diffstat (limited to 'games')
-rw-r--r-- | games/warzone2100/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile index 84a173df5047..328c60727a50 100644 --- a/games/warzone2100/Makefile +++ b/games/warzone2100/Makefile @@ -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 |