bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] teach ncurses-config about sysroot


From: Enrico Weigelt
Subject: Re: [PATCH] teach ncurses-config about sysroot
Date: Fri, 27 Aug 2010 00:57:20 +0200
User-agent: Mutt/1.4.1i

* Mike Frysinger <address@hidden> wrote:

> try reading the whole thread.  adding $SYSROOT to ncurses-config is *exactly* 
> what you're indicating here is a bad idea -- "tweaking each single package".

No. In this case, it's a generic solution, which is similar to
pkg-config's sysroot handling (just another name for the variable,
which actually is more obvious and almost de-facto standard).
 
And in this case, This patch only has to applied once to the package 
(and hopefully will be taken into next upstream release) - there's no 
need to tweak it per-target and for each new version again.

> instead, the sane solution is what we implemented in Gentoo long 
> ago -- a single tool that automatically wraps all *-config scripts
> and fixes their output. 

Well, that's quite what I was doing w/ pkg-config, before it supported
sysroot on it's own. (now it's not needed anymore). But doing it
for all *-config scripts can turn out to be a bit tricky, not just
because their semantics are not standardized.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: address@hidden
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]