From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14315 invoked from network); 19 Nov 2004 21:57:01 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 19 Nov 2004 21:57:01 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CVGkW-00004y-U5 for arch-gentoo-dev@lists.gentoo.org; Fri, 19 Nov 2004 21:57:00 +0000 Received: (qmail 6686 invoked by uid 89); 19 Nov 2004 21:57:00 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 7841 invoked from network); 19 Nov 2004 21:56:59 +0000 Date: Fri, 19 Nov 2004 14:00:49 -0800 From: Drake Wyrm To: gentoo-dev@lists.gentoo.org Message-ID: <20041119220049.GA2649@phaenix.haell.com> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20041118194529.3ff36a8a@snowdrop.home> <124236248c71da7a909c4de7f14b2ea0@testdomain.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <124236248c71da7a909c4de7f14b2ea0@testdomain.com> X-Arch: athlon_tbird-gentoo-linux-gnu X-Fnord: There is no conspiracy X-Fortune: //GO.SYSIN DD *, DOODAH, DOODAH User-Agent: Mutt/1.5.6i Subject: Re: [gentoo-dev] Common make.conf screwups? X-Archives-Salt: 91de9f7f-448e-4de8-97c3-6e1b4e0e01dd X-Archives-Hash: 2727d42c3702cc8c396c894d5500fae5 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable At 2004-11-19T14:42:37+0000, Brian Jackson wrote: > On 7:45:29 pm 11/18/04 Ciaran McCreesh wrote: > > I've got some better vim syntax highlighting rules for make.conf lined > > up to go into the next app-vim/gentoo-syntax. One of the things that > > this lets me do is highlighting of (some kinds of) mistakes. What're > > the most common screwups that people see? My current list is: >=20 > I don't know if you can detect it, but basing a var on another unset var, > i.e. >=20 > #PORTDIR=3D/usr/portage > then later in make.conf: > PKGDIR=3D${PORTDIR}/packages > or something similar I understand what you're thinking, but that's a bad example... $PORTDIR is set to its default of "/usr/portage" before make.conf is parsed. Your example would set $PKGDIR to "/usr/portage/packages" anyway. An interesting quirk is found when one changes $PORTDIR without uncommenting all the variables which use it. For example: PORTDIR=3D/some/where/else #PKGDIR=3D${PORTDIR}/packages in one's make.conf leaves $PKGDIR set to "/usr/portage/packages". --=20 Batou: Hey, Major... You ever hear of "human rights"? Kusanagi: I understand the concept, but I've never seen it in action. --Ghost in the Shell --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iEYEARECAAYFAkGebREACgkQgFt3Np/YxLOhDQCfUso4UCEPlFZHxxcE69tIPyZo AJgAn3fD7IyFMlBnHtQ4+3MnKK3IWVcN =JVul -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--