From d946d37417f9dfcd9c7dfba91210b70063f75001 Mon Sep 17 00:00:00 2001
From: Gabor Pali <pgj@FreeBSD.org>
Date: Thu, 31 Oct 2013 15:37:25 +0000
Subject: [PATCH] - Add a brief note on the "developer mode" for porting

Requested by:	bapt
---
 en_US.ISO8859-1/books/porters-handbook/book.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/en_US.ISO8859-1/books/porters-handbook/book.xml b/en_US.ISO8859-1/books/porters-handbook/book.xml
index 15fd8ed54c..5f2709929a 100644
--- a/en_US.ISO8859-1/books/porters-handbook/book.xml
+++ b/en_US.ISO8859-1/books/porters-handbook/book.xml
@@ -125,6 +125,18 @@
 	too.</para>
     </note>
 
+    <note>
+      <para>It is recommended to set the <makevar>DEVELOPER</makevar>
+	&man.make.1; variable in <filename>/etc/make.conf</filename>
+	before getting into porting.</para>
+
+      <screen>&prompt.root; <userinput>echo DEVELOPER=yes >> /etc/make.conf</userinput></screen>
+
+      <para>This setting enables the <quote>developer mode</quote> that
+	displays deprecation warnings and activates some further quality
+	checks on calling the <command>make</command> command.</para>
+    </note>
+
     <sect1 id="porting-makefile">
       <title>Writing the <filename>Makefile</filename></title>