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

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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 &lt;bsd.port.options.mk&gt;
 
 post-patch:
+	@${REINPLACE_CMD} -e 's/echo/true/' ${WRKSRC}/Makefile
 .if ${PORT_OPTIONS:MOPT1}
 	@${REINPLACE_CMD} -e '/opt1/d' ${WRKSRC}/Makefile
 .else
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.