Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

how to add use variables to make.conf?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

how to add use variables to make.conf?

  • Quote

Post by taskara » Sun Apr 14, 2002 11:48 am

how do you add a use variable to your make.conf file?

for example if I want to use CUPS or PDA

where would such entries go ?
Top
gschneider
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 81
Joined: Wed Apr 10, 2002 11:56 am
Location: Rostock, Germany
Contact:
Contact gschneider
Website

  • Quote

Post by gschneider » Sun Apr 14, 2002 12:45 pm

just add a line:

USE="cups pda"
/(bb|[^b]{2})/
Top
freefall
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Sat Apr 13, 2002 12:11 pm

  • Quote

Post by freefall » Sun Apr 14, 2002 2:11 pm

If you want to disable a variable add a - before the variable.

USE="-kde -gtk"
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Sun Apr 14, 2002 9:54 pm

sweet ta
Top
KraGorn
n00b
n00b
Posts: 40
Joined: Wed Apr 17, 2002 7:36 am
Location: Warrington, England

  • Quote

Post by KraGorn » Wed Apr 17, 2002 6:29 pm

As a complete newbie to gentoo ... just booted my first system ... how do I find out just what USE variables are available for what packages, is there a list, do I have to poke around a config file ... I'm bemused at the moment as to how to do this. :(
You'll never catch ME using a sig.!
Top
gschneider
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 81
Joined: Wed Apr 10, 2002 11:56 am
Location: Rostock, Germany
Contact:
Contact gschneider
Website

  • Quote

Post by gschneider » Wed Apr 17, 2002 6:33 pm

less /usr/portage/profile/use.desc
/(bb|[^b]{2})/
Top
KraGorn
n00b
n00b
Posts: 40
Joined: Wed Apr 17, 2002 7:36 am
Location: Warrington, England

  • Quote

Post by KraGorn » Wed Apr 17, 2002 7:16 pm

Thanks very much ... one more question if I may, please :) ...

For my first attempt at a solo-flying package installation I'm trying to emerge vim, doing a --pretend I see it installing X, gnome etc. IIRC this is because the .ebuild script for VIM has it depending on a series of USE tags ... hence my first question. It now appears that make.defaults sets a large number of USE tags "on" which means I'll have to have a large number of "-tag" is make.conf to undo them. Since this Linux box will be a web/ssh/ftp/whateverelse server I don't want most of the defaults.

Question: is it safe to simply comment-out this line in /etc/make.profile/make.defaults and then simply USE= in make.conf in the usual way.

The answer would seem an obvious "yes" but will this file get overwritten when I next do an emerge rsync or some other automated Portage process?

Sorry, I'm sure this is an FAQ but the FAQ section doesn't indicate the best way to turn off all the defaults.
You'll never catch ME using a sig.!
Top
Nitro
Bodhisattva
Bodhisattva
User avatar
Posts: 660
Joined: Mon Apr 08, 2002 11:20 pm
Location: San Francisco
Contact:
Contact Nitro
Website

  • Quote

Post by Nitro » Wed Apr 17, 2002 8:30 pm

KraGorn wrote:Question: is it safe to simply comment-out this line in /etc/make.profile/make.defaults and then simply USE= in make.conf in the usual way.
If you look at /etc/make.profile, you will find that it is actually a symbolic link to /usr/portage/profiles/default-1.0. The mtime on my make.defaults was today, and I didn't edit it today, so it was updated by (most likely) emerge rsync.
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Top
lazaruslong

Do emerge scripts add items to the USE variable?

  • Quote

Post by lazaruslong » Fri Apr 19, 2002 12:35 am

So do emerge scripts add items to the USE variable when they are run so that the presence of a package will alter future builds?

- and if so is there a way to tell what ports that are currently installed should be rebuilt because of new USE variables?
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic