Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2004 11:59:49 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Ruslan Ermilov <ru@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
Message-ID:  <20040219085949.GA53685@nagual.pp.ru>
In-Reply-To: <20040219084344.GA5351@ip.net.ua>
References:  <200402170538.i1H5cjQa010622@repoman.freebsd.org> <20040218190255.GB1578@ip.net.ua> <20040218193044.GA26653@nagual.pp.ru> <20040219033008.GA50441@nagual.pp.ru> <20040219084344.GA5351@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 19, 2004 at 10:43:45AM +0200, Ruslan Ermilov wrote:
> I have an idea: how about introducing the WANT_GNU_REGEX_H, and having
> the standard <regex.h> deal with it, by including the <gnu/regex.h> if
> the latter is defined, and using BSD's regex.h otherwise?

I don't want our headers to be polluted with unrelated stuff. Next thing
will be WANT_LINUX_ etc... Lets keep code bases separate, at least to
minimize diffs with other BSDs.

Your suggested way not reduces porter efforts, he needs to use=20
-DWANT_GNU_REGEX_H, but in my case it is -I/usr/include/gnu - I see no=20
gain here at all. Moreover, if we place more GNU headers under=20
/usr/include/gnu, only single -I/usr/include/gnu is needed in my case and=
=20
one-per-header -DWANT_GNU_<something>_H in yours.

--=20
Andrey Chernov | http://ache.pp.ru/

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iQCVAwUBQDR7BeJgpPLZnQjrAQFrUwP/d7wkkKWs5JkkLbC5AGBSKsbnyAGom08h
3/bMhr7NXmktJvKmjfvrxGXoBwELXAT53re9pYLaJazbkgEclU31PuavMhJgjfxt
ZhNOr6X/wUJhDq4xrPFR0+uSpIvzHWsSQ+hkE7mzP5g7NCjSeewpSYUwSDu9WC1i
JSieJKwjJHg=
=qtXg
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040219085949.GA53685>