From owner-cvs-src@FreeBSD.ORG Wed Feb 18 12:16:30 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E358916A4CE; Wed, 18 Feb 2004 12:16:30 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C80C43D1D; Wed, 18 Feb 2004 12:16:30 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (smmsp@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i1IKGTFo027489; Wed, 18 Feb 2004 23:16:29 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i1IJUi7g026789; Wed, 18 Feb 2004 22:30:44 +0300 (MSK) (envelope-from ache) Date: Wed, 18 Feb 2004 22:30:44 +0300 From: Andrey Chernov To: Ruslan Ermilov Message-ID: <20040218193044.GA26653@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Ruslan Ermilov , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200402170538.i1H5cjQa010622@repoman.freebsd.org> <20040218190255.GB1578@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20040218190255.GB1578@ip.net.ua> User-Agent: Mutt/1.5.5.1i cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/gnu/usr.bin/binutils/gasp Makefile src/gnu/usr.bin/binutils/gdb Makefile src/gnu/usr.bin/cvs/cvs Makefile src/gnu/usr.bin/cvs/lib Makefile src/gnu/usr.bin/cvs/libdiff Makefile src/gnu/usr.bin/diff Makefile src/gnu/usr.bin/grep Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 20:16:31 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 18, 2004 at 09:02:55PM +0200, Ruslan Ermilov wrote: > This is bogus. The correct way would be to fix #include's to > spell ``#include '', but this will be considered > evil as it will take lot of files off their vendor branches. Yes, and it was the reason of commit to NOT do it, using -I instead. > What was wrong with ${.CURDIR}/.../include/gnu, except > misspelling the number of ".."'s in some cases? The reason is that ${.CURDIR}/.... is for _source_ dir, not for final ${DESTDIR} where includes are installed at the start of 'make world'. There is no regex.h in source dir with that name. To make it works, there must be -I${.CURDIR}/.../gnu/lib/libregex insead, but too many ../=20 are ugly in anycase. > I've been slowly working towards removing all instances of > -I${DESTDIR}/usr/include/... in the src/ makefiles. Before > this commit, there were only a few makefiles with > -I${DESTDIR}/usr/include/rpcsvc, but RPC code is known to be > a nightmare to deal with. I am not sure it will be right, only if ${.CURDIR} is in the same place,=20 where ${DESTDIR} is. --=20 Andrey Chernov | http://ache.pp.ru/ --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQDO9ZOJgpPLZnQjrAQGRYAP+LvKhC3NcJOmcG3+RNqiBGrC3RveV4vsV 81nkCg3EExlC5nRc+yybfVuOaiRZ+l48S5zrJr/HY7M/xhHFJAuzOJGd9yUf+OP+ +Pr1D7BCDsVMy09BcPcofbGR/kv4dBLmGyUSjDJf1RYo/BwitiPvbXzjLzVDBg7i 95iSOJBWJiA= =4kPR -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--