Hi, On Feb 27, 2015, at 12:46, Barry Kauler <[email protected]> wrote:
> On 2/24/15, René Rebe <[email protected]> wrote: > >> >> I mentioned pkginstalled attar || var_append makeopt ‘ ‘ ‘LIBATTR=no’ >> already? >> >> (Actually unfortunately the makeinstopt need it too, or they would try to >> build some other [example?] tool, sigh.) >> >> Simply avoid file sed’ing files - it is just unhandy, easily conflicts with >> patches, etc. pp. >> >> Committed revision 43795. >> >> --- package/base/libcap/libcap.conf (revision 43794) >> +++ package/base/libcap/libcap.conf (revision 43795) >> @@ -13,6 +13,10 @@ >> # GNU General Public License can be found in the file COPYING. >> # --- T2-COPYRIGHT-NOTE-END --- >> >> +if ! pkginstalled attr; then >> + var_append makeopt ' ' 'LIBATTR=no' >> + var_append makeinstopt ' ' 'LIBATTR=no' >> +fi >> var_remove_regex makeopt ' ' 'LD=.*' # for cross builds, requries gcc with >> flags >> var_append makeinstopt " " "FAKEROOT=$root LIBDIR=$root/$libdir" >> hook_add postdoc 5 "rm -rvf $root$docdir/old; cp -v `match_source_file -p >> capfaq` $root$docdir/" >> >> > > Rene, > Yes, but the "LIBATTR := yes" in Make.Rules (which is included into > Makefile) does not have a "ifndef ... endif" around it, so it is > hard-coded. Yeah, but when it is specified on the make command-line it overwrites the := built-in. I tested the build with the above code in a minimal build without libattr and it built for me, … Any problems left? René -- ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
