tech-pkg archive

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

Re: pkg-config-0.26 depends on glib2



 >> > > http://www.openbsd.org/cgi-bin/man.cgi?query=pkg-config&sektion=1&form
 >> > > at=html
 >> > 
 >> > Look at the code.
 >> 
 >> You mean a dependency on perl isn't a good substitute for a dependency on 
 >> glib2?  :D
 >> 
 >> Still, with a good outline like that, it really shouldn't be hard to
 >> implement in vanilla C.

> Good luck.

> Writing that in perl was a conscious decision.

> Trimming down recursive dependencies to something *manageable* is totally
> necessary, and not too easy to do without appropriate data structures.
> Script languages with good text processing capabilities, and associative
> dictionaries work wonders there...

Implementing pkg-config is rather easy task for plain AWK especially
with runawk (http://pkgsrc.se/lang/runawk). Perl is really *huge* and
broken by design IMHO.

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index