diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 1359f306e3..e1ca52ceac 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -3035,6 +3035,23 @@ PORTVERSION= 1.0 autoconf to be run before configure. + + If your package uses GNU configure, and + the resulting executable file has a strange name + like + i386-portbld-freebsd4.7-appname, + you will need to additionally override the + CONFIGURE_TARGET variable to specify the + target in the way required by scripts generated by recent + versions of autoconf. Add the following line + immediately after the GNU_CONFIGURE=yes line + in your Makefile: + + + CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + + + If your package is an X application that creates Makefiles from Imakefiles using imake, then set