svn commit: r50509 - head/en_US.ISO8859-1/books/porters-handbook/makefiles

Mathieu Arnold mat at FreeBSD.org
Mon Jul 17 15:02:26 UTC 2017


Author: mat
Date: Mon Jul 17 15:02:24 2017
New Revision: 50509
URL: https://svnweb.freebsd.org/changeset/doc/50509

Log:
  Enhance the target options helpers a bit.
  
  Prompted by:	mmokhi's questions
  Sponsored by:	Absolight

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Mon Jul 17 12:28:44 2017	(r50508)
+++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Mon Jul 17 15:02:24 2017	(r50509)
@@ -6646,8 +6646,12 @@ DOCS_ALL_TARGET=	doc</programlisting>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
 
+post-patch:
+	@${REINPLACE_CMD} -e 's/echo/true/' ${WRKSRC}/Makefile
+
 post-patch-OPT1-on:
 	@${REINPLACE_CMD} -e '/opt1/d' ${WRKSRC}/Makefile
+
 post-patch-OPT1-off:
 	@${REINPLACE_CMD} -e '/opt1/s|/usr/bin/|${LOCALBASE}/bin/|' ${WRKSRC}/Makefile</programlisting>
 
@@ -6658,6 +6662,7 @@ post-patch-OPT1-off:
 .include <bsd.port.options.mk>
 
 post-patch:
+	@${REINPLACE_CMD} -e 's/echo/true/' ${WRKSRC}/Makefile
 .if ${PORT_OPTIONS:MOPT1}
 	@${REINPLACE_CMD} -e '/opt1/d' ${WRKSRC}/Makefile
 .else


More information about the svn-doc-all mailing list