From 60cb8da6cfe62796b04e83c0433b089dbc9cdd05 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Wed, 26 Feb 2003 11:16:54 +0000 Subject: [PATCH] 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) --- .../books/porters-handbook/book.sgml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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