version 1.11, 1999/03/01 00:26:08 |
version 1.12, 1999/03/08 00:34:39 |
|
|
override can be changed by adding the --option flags to the |
override can be changed by adding the --option flags to the |
CONFIGURE_ARGS parameter in the Makefile |
CONFIGURE_ARGS parameter in the Makefile |
<p> |
<p> |
|
<li>try setting <code>SEPARATE_BUILD</code><br> |
|
If the port can build with object files outside its source tree, |
|
this is cleaner (many programs using <code>GNU_CONFIGURE</code> can), |
|
and may help people who mount their ports tree on several arches. |
|
This can also spare you some effort, as you will possibly be able to |
|
restart the cycle at <code>configure</code> most of the time. |
|
<p> |
<li><code>make configure</code><br> |
<li><code>make configure</code><br> |
Peruse the output (if any) and tweak any options in the Makefile. |
Peruse the output (if any) and tweak any options in the Makefile. |
To repeat issue the command `make clean && make configure'. |
To repeat issue the command `make clean && make configure'. |
|
|
Begin a cycle of makes until the port is ready. Patch (see above) |
Begin a cycle of makes until the port is ready. Patch (see above) |
clean, and make until the port is generated. Get rid of all warnings |
clean, and make until the port is generated. Get rid of all warnings |
if possible, especially security related warnings. |
if possible, especially security related warnings. |
|
<p> |
|
<li>Control <code>SEPARATE_BUILD</code> semantics<br> |
|
You have to do this only if the port builds with |
|
<code>SEPARATE_BUILD</code> defined. |
|
Ideally, the port should no longer modify any file in |
|
<code>${WRKSRC}</code> after <code>make patch</code>. |
|
You can check this by making sure you don't have any write access |
|
to <code>${WRKSRC}</code>. Then you can set |
|
<code>SEPARATE_BUILD=concurrent</code>: someone can use the same |
|
source tree to build on distinct arches simultaneously. |
|
Otherwise, set <code>SEPARATE_BUILD=simple</code>: building on |
|
distinct arches simultaneously may meet with problems, as some |
|
source files may be regenerated at awkward moments. |
<p> |
<p> |
<li><code>mkdir pkg; touch pkg/{DESCR,COMMENT,PLIST}</code><br> |
<li><code>mkdir pkg; touch pkg/{DESCR,COMMENT,PLIST}</code><br> |
Create dummy versions of the package files. Edit DESCR and COMMENT. |
Create dummy versions of the package files. Edit DESCR and COMMENT. |