Add a note about the CONFIGURE_TARGET override needed by GNU configure
scripts generated by recent versions of autoconf. Reviewed by: keramida Approved by: keramida, ceri (mentor)
This commit is contained in:
parent
a13f23d423
commit
60cb8da6cf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16129
1 changed files with 17 additions and 0 deletions
|
@ -3035,6 +3035,23 @@ PORTVERSION= 1.0</programlisting>
|
||||||
<command>autoconf</command> to be run before
|
<command>autoconf</command> to be run before
|
||||||
<command>configure</command>.</para>
|
<command>configure</command>.</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>If your package uses GNU <command>configure</command>, and
|
||||||
|
the resulting executable file has a <quote>strange</quote> name
|
||||||
|
like
|
||||||
|
<filename>i386-portbld-freebsd4.7-</filename><replaceable>appname</replaceable>,
|
||||||
|
you will need to additionally override the
|
||||||
|
<makevar>CONFIGURE_TARGET</makevar> variable to specify the
|
||||||
|
target in the way required by scripts generated by recent
|
||||||
|
versions of <command>autoconf</command>. Add the following line
|
||||||
|
immediately after the <literal>GNU_CONFIGURE=yes</literal> line
|
||||||
|
in your <filename>Makefile</filename>:</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<literal>CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}</literal>
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<para>If your package is an X application that creates
|
<para>If your package is an X application that creates
|
||||||
<filename>Makefile</filename>s from <filename>Imakefile</filename>s
|
<filename>Makefile</filename>s from <filename>Imakefile</filename>s
|
||||||
using <command>imake</command>, then set
|
using <command>imake</command>, then set
|
||||||
|
|
Loading…
Reference in a new issue