diff options
author | 2018-06-27 04:27:36 -0500 | |
---|---|---|
committer | 2018-06-27 04:27:36 -0500 | |
commit | cfb3851c4a2872aaf222c31acf20c600946a52a1 (patch) | |
tree | c954eb0d0a8610010b99877184a759d5f8d387d3 | |
parent | fixed a missed lua{,jit} conversion; include only `libluajit.h` header (diff) | |
download | ag-ops-cfb3851c4a2872aaf222c31acf20c600946a52a1.tar.gz ag-ops-cfb3851c4a2872aaf222c31acf20c600946a52a1.tar.bz2 ag-ops-cfb3851c4a2872aaf222c31acf20c600946a52a1.zip |
luajit-2.0.4 patched w/removed symlinks;
updated eselect-luajit for symlink patch of luajit-2.0.4
-rw-r--r-- | app-eselect/eselect-luajit/files/luajit.eselect-1 | 4 | ||||
-rw-r--r-- | dev-lang/luajit/luajit-2.0.4.ebuild | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/app-eselect/eselect-luajit/files/luajit.eselect-1 b/app-eselect/eselect-luajit/files/luajit.eselect-1 index 46c7d42..57f976a 100644 --- a/app-eselect/eselect-luajit/files/luajit.eselect-1 +++ b/app-eselect/eselect-luajit/files/luajit.eselect-1 @@ -10,7 +10,7 @@ MAINTAINER="ilmostro7@gmail.com" HEADER_FILES="luajit.h" remove_symlinks() { - unlink "${EROOT}"/usr/bin/{luajit} &>/dev/null + unlink "${EROOT}"/usr/bin/luajit &>/dev/null for dir in $(get_libdirs) ; do unlink "${EROOT}"${dir}/libluajit.so &>/dev/null && \ unlink "${EROOT}"${dir}/pkgconfig/luajit.pc &>/dev/null @@ -25,7 +25,7 @@ set_symlinks() { local ver=$1 ln -s "${EROOT}"/usr/bin/luajit{$ver,} for dir in $(get_libdirs) ; do - ln -s "${dir}"/libluajit{$ver,}.so + ln -s "${dir}"/lua/${do_show}/luajit-{$ver}/libluajit{$ver}.so "${dir}"/libluajit{$ver,}.so ln -s "${dir}"/pkgconfig/luajit{$ver,}.pc done for orig in "${EROOT}"/usr/share/man/man1/lua*$ver.1* ; do diff --git a/dev-lang/luajit/luajit-2.0.4.ebuild b/dev-lang/luajit/luajit-2.0.4.ebuild index e5d734b..1681cdf 100644 --- a/dev-lang/luajit/luajit-2.0.4.ebuild +++ b/dev-lang/luajit/luajit-2.0.4.ebuild @@ -18,7 +18,8 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" S="${WORKDIR}/${MY_P}" HTML_DOCS=( doc/ ) -PATCHES=( "${FILESDIR}"/${PN}-luaver.patch ) +PATCHES=( "${FILESDIR}"/${PN}-luaver.patch + "${FILESDIR}"/${PN}-nosymlinks.patch ) src_install(){ default |