lib/compat for ld-elf
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Wed Jul 6 10:08:50 PDT 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00005.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20050706/a8077ba7/attachment-0018.obj>
More information about the Submit
mailing list