public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Terje Kvernes <terjekv@math.uio.no>
To: gentoo-user@gentoo.org
Cc: gentoo-dev@gentoo.org
Subject: [gentoo-dev] USE problems in ebuilds (was: Re: [gentoo-user] Re: the libpng problem)
Date: 16 Apr 2002 19:56:44 +0200	[thread overview]
Message-ID: <wxx1ydfcysj.fsf_-_@nommo.uio.no> (raw)
In-Reply-To: <wxx662rd03d.fsf@nommo.uio.no>

Terje Kvernes <terjekv@math.uio.no> writes:

> Pierre-Henri Jondot <Pierre-Henri.Jondot@wanadoo.fr> writes:
>
> > scilab
> 
> I'll have a stab at this tonight, but I need someone to prod me when
> new versions come about, it's not something I'm going to use.  if
> you don't hear from me about it, poke me.

  hm.  this was interesting.  I'm doing:

DEPEND="virtual/x11
            tk? ( dev-lang/tk )"

src_compile() {

        local myopts

        if [ "`use tk`" ]
        then
                myopts="--with-tk"
        fi

        ./configure \
                --host=${CHOST} \
                --prefix=/usr \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
                --sysconfdir=/etc \
                --localstatedir=/var \
                ${myopts} || die "./configure failed"
        
        make all || die
}

  and for testing I tried the command line:

USE="-tk" emerge scilab

  now, the dependency-check comes out as it should, portage doesn't
  start to grab TCL/TK.  _but_ the "`use tk`" doesn't seem to notice
  the USE="-tk" statement.  I have "tk" listed as a USE-flag in
  /etc/make.conf but I would _really_ expect Portage to ignore that
  when I explicitly say that I don't want tk right now on the command
  line.  hopefully I'm doing something very stupid, can someone please
  tell me how to deal with this?

  (sent to both gentoo-user and gentoo-dev, with reply set to
  gentoo-dev)

-- 
Terje - who is upgrading to qt3.0.3-r1 right now.


       reply	other threads:[~2002-04-16 17:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020416054746.48350133.erichey2@attbi.com>
     [not found] ` <20020416171505.21617f86.Pierre-Henri.Jondot@wanadoo.fr>
     [not found]   ` <wxx662rd03d.fsf@nommo.uio.no>
2002-04-16 17:56     ` Terje Kvernes [this message]
2002-04-16 19:38       ` [gentoo-dev] USE problems in ebuilds (was: Re: [gentoo-user] Re: the libpng problem) Grant Goodyear
2002-04-16 19:57         ` Terje Kvernes
2002-04-16 22:49           ` Tod M Neidt
2002-04-16 21:41       ` Jared H. Hudson

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=wxx1ydfcysj.fsf_-_@nommo.uio.no \
    --to=terjekv@math.uio.no \
    --cc=gentoo-dev@gentoo.org \
    --cc=gentoo-user@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