You are not logged in.

#1 2009-11-04 16:46:54

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

[Solved] Keep some makedepends as explicitly installed

I'm pretty sure there is a thread here in the forums about this but for the heck of me I couldn't find it.  I'd like to keep some makedepends as always installed.  I always find myself reinstalling cmake, subversion, automoc.  It's not a big deal really but I use them enough that it be nice if they actually stayed installed.  Trying 'pacman -S --asexplicit' doesn't work as I think it is for packages that are dependencies and not makedependencies.  Is there a way to do this short of say, writing a new pkgbuild that will make them dependencies?

Last edited by Gen2ly (2009-11-04 18:39:13)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#2 2009-11-04 16:55:47

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [Solved] Keep some makedepends as explicitly installed

"makedepends" are not special so you should be able to install them explicitly (e.g. "pacman -S cmake" when cmake isn't installed, "pacman -S --asexplicit cmake" when it already is). You could just leave them installed as orphaned dependencies as well when building a package by not including the "-r" option, e.g. "makepkg -si".


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-11-04 18:22:47

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] Keep some makedepends as explicitly installed

Ah... Oyyyyy.

I got it figured out.  neutral  I got a frontend that I use for package management that utilizes both pacman and yaourt.  In 'case...; * )  ' I had directed it to 'yaourt "$@"'.  I had recalled that it was directed to pacman, but meh... so apparently yaourt doesn't understand the '--asexplicit' flag yet.  Error between chair and keyboard.

Thanks Xyne.

Last edited by Gen2ly (2009-11-04 18:26:57)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB