From owner-freebsd-ports@FreeBSD.ORG Mon Jun 8 19:15:45 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32BEE106566B for ; Mon, 8 Jun 2009 19:15:45 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id B5AEC8FC21 for ; Mon, 8 Jun 2009 19:15:44 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n58JFesS012010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Jun 2009 05:15:42 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n58JFd7X078311; Tue, 9 Jun 2009 05:15:39 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n58JFdI5078310; Tue, 9 Jun 2009 05:15:39 +1000 (EST) (envelope-from peter) Date: Tue, 9 Jun 2009 05:15:39 +1000 From: Peter Jeremy To: Robert Huff Message-ID: <20090608191539.GF9529@server.vk2pj.dyndns.org> References: <18988.39724.572280.687111@jerusalem.litteratus.org> <20090608082930.GD9529@server.vk2pj.dyndns.org> <18988.65260.635443.439491@jerusalem.litteratus.org> <20090608143519.1866665ogux2b8g0@webmail.leidinger.net> <18989.6105.484074.889552@jerusalem.litteratus.org> <20090608164014.131052xgwiww9bks@webmail.leidinger.net> <18989.12103.858035.873279@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8TaQrIeukR7mmbKf" Content-Disposition: inline In-Reply-To: <18989.12103.858035.873279@jerusalem.litteratus.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Cc: ports@freebsd.org Subject: Re: porting: Linux to Freebsd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 19:15:45 -0000 --8TaQrIeukR7mmbKf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Jun-08 11:33:27 -0400, Robert Huff wrote: >Alexander Leidinger writes: >> > Right: I re-ran under bash, and got the same problems. >> > Looking at configure.ac, I see: >> > >> > AC_PATH_PROG(YACC,byacc,no) >> > if test "x$YACC" =3D=3D "xno" >> =20 >> This should be a "=3D", not a "=3D=3D". > > Same result. > >> > Relevant bit is: >> > >> > for ac_remove_CFLAG in "-O1" "-O2" "-O3" ; do >> > CFLAGS=3D${CFLAGS//${ac_remove_CFLAG}/} >> > CPPFLAGS=3D${CPPFLAGS//${ac_remove_CFLAG}/} >> > CXXFLAGS=3D${CXXFLAGS//${ac_remove_CFLAG}/} >> > done >> =20 >> Quick try: >> CFLAGS=3D`echo $CFLAGS | sed -e 's:-O[123]::g'` > > No change here either. Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Can you post the configure script? Note that your problems with configure do not surprise me. Despite claims otherwise, it appears to have been designed (using the word very loosely) as a tool to impede application portability. --=20 Peter Jeremy --8TaQrIeukR7mmbKf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkotY1sACgkQ/opHv/APuIeU9QCgqkBbUlw9h9BSThF6bb9bvisi uD0An3+fLFoLO7IQXIQzsosgcaJgVPxZ =BuQa -----END PGP SIGNATURE----- --8TaQrIeukR7mmbKf--