Skip to content

Commit

Permalink
dev-db/lmdb: add missing die statements
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
Dessa committed Dec 25, 2015
1 parent e161003 commit 31c23a2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions dev-db/lmdb/lmdb-0.9.14.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ src_configure() {
}

src_compile() {
emake LDLIBS+=" -pthread"
emake LDLIBS+=" -pthread" || die
}

src_install() {
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1}
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1} || die
default

mv "${D}"/usr/$(get_libdir)/liblmdb.so{,.0} || die
dosym liblmdb.so.0 /usr/$(get_libdir)/liblmdb.so

use static-libs || rm -f "${D}"/usr/$(get_libdir)/liblmdb.a
use static-libs || rm "${D}"/usr/$(get_libdir)/liblmdb.a || die
}
6 changes: 3 additions & 3 deletions dev-db/lmdb/lmdb-0.9.15.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ src_configure() {
}

src_compile() {
emake LDLIBS+=" -pthread"
emake LDLIBS+=" -pthread" || die
}

src_install() {
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1}
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1} || die
default

mv "${D}"/usr/$(get_libdir)/liblmdb.so{,.0} || die
dosym liblmdb.so.0 /usr/$(get_libdir)/liblmdb.so

use static-libs || rm -f "${D}"/usr/$(get_libdir)/liblmdb.a
use static-libs || rm "${D}"/usr/$(get_libdir)/liblmdb.a || die
}
6 changes: 3 additions & 3 deletions dev-db/lmdb/lmdb-0.9.16.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ src_configure() {
}

src_compile() {
emake LDLIBS+=" -pthread"
emake LDLIBS+=" -pthread" || die
}

src_install() {
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1}
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1} || die
default

mv "${D}"/usr/$(get_libdir)/liblmdb.so{,.0} || die
dosym liblmdb.so.0 /usr/$(get_libdir)/liblmdb.so

use static-libs || rm -f "${D}"/usr/$(get_libdir)/liblmdb.a
use static-libs || rm "${D}"/usr/$(get_libdir)/liblmdb.a || die
}
6 changes: 3 additions & 3 deletions dev-db/lmdb/lmdb-0.9.17.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ src_configure() {
}

src_compile() {
emake LDLIBS+=" -pthread"
emake LDLIBS+=" -pthread" || die
}

src_install() {
emake DESTDIR="${ED}" prefix="${EROOT}usr" mandir="${EROOT}usr/share/man" install
emake DESTDIR="${ED}" prefix="${EROOT}usr" mandir="${EROOT}usr/share/man" install || die

mv "${ED}"usr/$(get_libdir)/liblmdb.so{,.0} || die
dosym liblmdb.so.0 "${EROOT}"usr/$(get_libdir)/liblmdb.so

use static-libs || rm -f "${ED}"usr/$(get_libdir)/liblmdb.a
use static-libs || rm "${ED}"usr/$(get_libdir)/liblmdb.a || die
}

0 comments on commit 31c23a2

Please sign in to comment.