Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 15:02:25 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50509 - head/en_US.ISO8859-1/books/porters-handbook/makefiles
Message-ID:  <201707171502.v6HF2PlW003586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707171502.v6HF2PlW003586>