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. Regards, Barry
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
