| From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
| Date: | Wed, 6 Jul 2005 19:06:23 +0200 |
hey,
joerg just noticed that we don't put a ld-elf.so.1 on our livecds, which
means that you can't run old binaries (like the included cvsup).
this could be used to support custom paths, i.e.
COMPAT_LIBS+= usr,libexec,ld-elf.so.1
with a file `usr,libexec,ld-elf.so.1.20050706.REL1_2'
cheers
simon
Index: Makefile
===================================================================
RCS file: /space/cvs/dragonfly/src/lib/compat/i386/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 2 May 2005 20:19:18 -0000 1.1
+++ Makefile 6 Jul 2005 17:02:03 -0000
@@ -24,14 +24,16 @@
show:
.for lib in ${LATEST_LIBS}
- @echo "Selecting ${lib} for ${lib:C/(.*)\.so\.([0-9]*)\.(.*)/\1.so.\2/}"
+ @echo "Selecting ${lib} for ${lib:C/(.*)\.so\.([0-9]*)\.(.*)/\1.so.\2/:C|,|/|g}"
.endfor
install:
.for lib in ${LATEST_LIBS}
+ directpath=${lib:C/[^,]*$//:C|,|/|g}; \
+ destpath=${DESTDIR}/$${directpath:-${LIBDIR}/compat} ; \
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/${lib} \
- ${DESTDIR}${LIBDIR}/compat/${lib:C/(.*)\.so\.([0-9]*)\.(.*)/\1.so.\2/}
+ $${destpath}/${lib:C/(.*,)?(.*)\.so\.([0-9]*)\.(.*)/\2.so.\3/}
.endfor
.include <bsd.lib.mk>
--
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:
pgp00005.pgp
Description: PGP signature