FreeBSD Bugzilla – Attachment 14889 Details for
Bug 27807
[PATCH] The port variables for optional packages aren't documented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.83 KB, created by
mwm
on 2001-06-01 07:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mwm
Created:
2001-06-01 07:50:01 UTC
Size:
1.83 KB
patch
obsolete
>--- porters-handbook/book.sgml-orig Thu May 31 21:21:58 2001 >+++ porters-handbook/book.sgml Fri Jun 1 01:42:20 2001 >@@ -1265,6 +1265,42 @@ > </sect2> > </sect1> > >+ <sect1> >+ <title>Optional dependencies</title> >+ >+ <para>Some large applications can be built in a number of >+ configurations, adding functionality if one of a number of >+ libraries or applications is available. Since not all users >+ want those libraries or applications, the ports system >+ provides hooks that the port author can use to decide which >+ configuration should be built. Supporting these properly will >+ make uses happy, and effectively provide 2 or more ports for the >+ price of one.</para> >+ >+ <para>The easiest of these to use is >+ <literal>WITHOUT_X</literal>. If the port can be built both >+ with and without X support, then it should normally be built >+ with X support. If <literal>WITHOUT_X</literal> is defined, >+ then the version that does not have X support should be >+ built.</para> >+ >+ <para>Various parts of GNOME have such knobs, though they are >+ slightly more difficult to use. The variables to use in the >+ <filename>Makefile</filename> are <makevar>WANT_*</makevar> >+ and <makevar>HAVE_*</makevar>. If the application can be >+ built both with or without one of the dependencies listed >+ below, then the <filename>Makefile</filename> should set >+ <makevar>WANT_PKG</makevar>, and should build the version that >+ uses <makevar>PKG</makevar> if <makevar>HAVE_PKG</makevar> >+ is defined.</para> >+ >+ <para>The <makevar>WANT_*</makevar> variables currently >+ supported this way are <makevar>WANT_GLIB</makevar>, >+ <makevar>WANT_GTK</makevar>, <makevar>WANT_ESOUND</makevar>, >+ <makevar>WANT_IMLIB</makevar>, and >+ <makevar>WANT_GNOME</makevar>.</para> >+ </sect1> >+ > <sect1> > <title>Building mechanisms</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 27807
: 14889