svn commit: r510188 - head/print/gutenprint

Christoph Moench-Tegeder cmt at FreeBSD.org
Thu Aug 29 21:14:22 UTC 2019


Author: cmt
Date: Thu Aug 29 21:14:21 2019
New Revision: 510188
URL: https://svnweb.freebsd.org/changeset/ports/510188

Log:
  fix DOCS=off build
  
  PR:		240181
  Reported by:	romain@, vvd

Modified:
  head/print/gutenprint/Makefile

Modified: head/print/gutenprint/Makefile
==============================================================================
--- head/print/gutenprint/Makefile	Thu Aug 29 21:01:19 2019	(r510187)
+++ head/print/gutenprint/Makefile	Thu Aug 29 21:14:21 2019	(r510188)
@@ -67,7 +67,7 @@ post-install:
 	@(cd ${WRKSRC}/src/gutenprintui2 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
 		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
 .else
-	@${RMDIR} ${STAGEDIR}/${DATADIR}/doc/reference-html
+	@(test -d ${STAGEDIR}/${DATADIR}/doc/reference-html && ${RMDIR} ${STAGEDIR}/${DATADIR}/doc/reference-html || :)
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list