DragonFly BSD
DragonFly kernel List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: libc update progress?


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 1 May 2005 22:52:55 +0200

On 01.05.2005, at 21:58, Matthew Dillon wrote:
I agree re: the CVS bloat issue... *but* we can always remove it
later. Right now I think it's more important to maintain continuity
between the old and new libs.

how about this:


COMPAT_LIBS= c.4 c_r.4 ncurses.5 m.2 # whatever

LATEST_LIBS=	# empty
. for lib in ${COMPAT_LIBS}
LATEST_${lib}!=	ls -r lib${lib:S/./.so./}* | head -n 1
LATEST_LIBS+=	${LATEST_${lib}}
. endfor

install:
. for lib in ${LATEST_LIBS}
	install ${lib} /usr/lib/compat/${lib:C/-[[:digit:]]*$//}
. endfor


with files there: libc.so.4-20050414 libc.so.4-20050501 libm.so.2-20050414 libncurses.so.5-200504014

etc.

As you can see, libc has two files. the older one can easily be removed from cvs (repomeister stuff), as the makefile will always pick up the newer one. bloat doesn't increase.

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part



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