mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
sci-electronics/dsview: fix 840556,848402
Closes: https://bugs.gentoo.org/840556 Closes: https://bugs.gentoo.org/848402 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -26,7 +26,7 @@ fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="static-libs"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
@@ -104,6 +104,10 @@ src_install() {
|
||||
LDFLAGS="-L${D}${LIBDIR}" \
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr . || die
|
||||
emake DESTDIR="${D}" install
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user