From owner-freebsd-doc Mon Feb 24 4:49:54 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09FE437B401 for ; Mon, 24 Feb 2003 04:49:52 -0800 (PST) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 0369A43F85 for ; Mon, 24 Feb 2003 04:49:49 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 18575 invoked from network); 24 Feb 2003 12:45:27 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 24 Feb 2003 12:45:27 -0000 Received: (qmail 60739 invoked by uid 1000); 24 Feb 2003 12:48:30 -0000 Date: Mon, 24 Feb 2003 14:48:30 +0200 From: Peter Pentchev To: doc@FreeBSD.org Cc: ports@FreeBSD.org Subject: [CFR] CONFIGURE_TARGET documentation Message-ID: <20030224124830.GA30933@straylight.oblivion.bg> Mail-Followup-To: doc@FreeBSD.org, ports@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, The CONFIGURE_TARGET=3D--build-blah problem comes up on -ports every now and then; does it not warrant the attached patch, which adds it to chapter '4.9 Building mechanisms' of the Porter's Handbook? Any comments on both wording and markup are welcome (no last minute changes this time, Giorgos ;). G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Nostalgia ain't what it used to be. Index: doc/en_US.ISO8859-1/books/porters-handbook/book.sgml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v retrieving revision 1.281 diff -u -r1.281 book.sgml --- doc/en_US.ISO8859-1/books/porters-handbook/book.sgml 24 Feb 2003 01:04:= 42 -0000 1.281 +++ doc/en_US.ISO8859-1/books/porters-handbook/book.sgml 24 Feb 2003 12:31:= 25 -0000 @@ -3035,6 +3035,23 @@ autoconf to be run before configure. =20 + + 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 scriptcs generated by recent + versions of autoconf. Add the following line + immediately after the GNU_CONFIGURE=3Dyes line + in your Makefile: + + + CONFIGURE_TARGET=3D--build=3D${MACHINE_ARCH}-portbld-freebsd= ${OSREL} + + + If your package is an X application that creates Makefiles from Imakefiles using imake, then set --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+WhSe7Ri2jRYZRVMRAkdcAJ9qkJK5ve1a6CXXCePt8xcrrz2XdgCgvBiv QHX9SJx34hpQStZyb7zuKKg= =xam+ -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message