On Sat, 20 Apr 2013, Michał Górny wrote:
Doesn't the symlink get installed earlier, e.g. by the build system?
I'm not sure what doins would do in that case.
No. Here is the complete src_install:
src_install() {
insinto /usr/share/common-lisp/source/${PN}
doins -r contrib *.lisp version.lisp-expr uiop.asd asdf-driver.asd
dodir /usr/share/common-lisp/systems
dosym /usr/share/common-lisp/source/${PN}/uiop.asd
/usr/share/common-lisp/systems/uiop.asd
dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd
/usr/share/common-lisp/systems/asdf-driver.asd
}
*.lisp, uiop.asd, asdf-driver.asd are installed normally, but not
version.lisp-expr. Out of frustration, I've tried
src_install() {
insinto /usr/share/common-lisp/source/${PN}
doins -r contrib *.lisp uiop.asd asdf-driver.asd
doins version.lisp-expr
dodir /usr/share/common-lisp/systems
dosym /usr/share/common-lisp/source/${PN}/uiop.asd
/usr/share/common-lisp/systems/uiop.asd
dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd
/usr/share/common-lisp/systems/asdf-driver.asd
}
But even in this case the broken symlink is installed instead of
version.lisp-expr.
Andrey