FreeBSD Bugzilla – Attachment 65834 Details for
Bug 97477
[PATCH] Porter's Handbook: clarify why OPTIONS need testing the way they do
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
book.sgml.diff
book.sgml.diff (text/plain), 1.60 KB, created by
Shaun Amott
on 2006-05-19 03:50:12 UTC
(
hide
)
Description:
book.sgml.diff
Filename:
MIME Type:
Creator:
Shaun Amott
Created:
2006-05-19 03:50:12 UTC
Size:
1.60 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v >retrieving revision 1.709 >diff -u -r1.709 book.sgml >--- book.sgml 18 May 2006 05:05:30 -0000 1.709 >+++ book.sgml 19 May 2006 02:17:40 -0000 >@@ -3825,12 +3825,20 @@ > the inclusion of <filename>bsd.port.pre.mk</filename>. > The <makevar>WITH_*</makevar> and <makevar>WITHOUT_*</makevar> > variables can only be tested after the inclusion of >- <filename>bsd.port.pre.mk</filename>. Due to a deficiency >- in the infrastructure, you can only test >- <makevar>WITH_*</makevar> variables for options, which are >+ <filename>bsd.port.pre.mk</filename>.</para> >+ >+ <para> >+ Due to a deficiency in the infrastructure, you can only test >+ <makevar>WITH_*</makevar> variables for options which are > <literal>OFF</literal> by default, and >- <makevar>WITHOUT_*</makevar> variables for options, which >- defaults to <literal>ON</literal>.</para> >+ <makevar>WITHOUT_*</makevar> variables for options which >+ default to <literal>ON</literal>. The reason for this is >+ that when packages are built on the build cluster, or if >+ <makevar>BATCH</makevar> is defined, the <command>config</command> >+ target is not run, and therefore no <makevar>OPTIONS</makevar> >+ are defined. This would cause <command>make depends</command> and >+ <command>make describe</command> to break for ports not following >+ the aforementioned rule.</para> > > <sect3> > <title>Example</title>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 97477
: 65834