From: Drake Wyrm <wyrm@haell.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Common make.conf screwups?
Date: Fri, 19 Nov 2004 14:00:49 -0800 [thread overview]
Message-ID: <20041119220049.GA2649@phaenix.haell.com> (raw)
In-Reply-To: <124236248c71da7a909c4de7f14b2ea0@testdomain.com>
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
At 2004-11-19T14:42:37+0000, Brian Jackson <iggy@gentoo.org> wrote:
> On 7:45:29 pm 11/18/04 Ciaran McCreesh <ciaranm@gentoo.org> 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:
>
> I don't know if you can detect it, but basing a var on another unset var,
> i.e.
>
> #PORTDIR=/usr/portage
> then later in make.conf:
> PKGDIR=${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=/some/where/else
#PKGDIR=${PORTDIR}/packages
in one's make.conf leaves $PKGDIR set to "/usr/portage/packages".
--
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
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2004-11-19 21:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-18 19:45 [gentoo-dev] Common make.conf screwups? Ciaran McCreesh
2004-11-18 20:34 ` Robert Moss
2004-11-18 20:40 ` Ciaran McCreesh
2004-11-18 21:58 ` Robert Moss
2004-11-19 14:50 ` Ned Ludd
2004-11-20 8:17 ` [gentoo-dev] " Duncan
2004-11-21 21:10 ` Robert Moss
2004-11-22 9:54 ` [gentoo-dev] " Duncan
2004-11-22 4:22 ` [gentoo-dev] " Luke-Jr
2004-11-19 14:42 ` [gentoo-dev] " Brian Jackson
2004-11-19 22:00 ` Drake Wyrm [this message]
2004-11-19 23:31 ` Jason Stubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041119220049.GA2649@phaenix.haell.com \
--to=wyrm@haell.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox