Date: Mon, 24 Feb 2003 14:48:30 +0200 From: Peter Pentchev <roam@ringlet.net> To: doc@FreeBSD.org Cc: ports@FreeBSD.org Subject: [CFR] CONFIGURE_TARGET documentation Message-ID: <20030224124830.GA30933@straylight.oblivion.bg>
next in thread | raw e-mail | index | archive | help
--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 @@ <command>autoconf</command> to be run before <command>configure</command>.</para> =20 + <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</re= placeable>, + you will need to additionally override the + <makevar>CONFIGURE_TARGET</makevar> variable to specify the + target in the way required by scriptcs generated by recent + versions of <command>autoconf</command>. Add the following line + immediately after the <literal>GNU_CONFIGURE=3Dyes</literal> line + in your <filename>Makefile</filename>:</para> + + <para> + <literal>CONFIGURE_TARGET=3D--build=3D${MACHINE_ARCH}-portbld-freebsd= ${OSREL}</literal> + </para> + </note> + <para>If your package is an X application that creates <filename>Makefile</filename>s from <filename>Imakefile</filenam= e>s using <command>imake</command>, 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-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224124830.GA30933>