mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-scheme/ypsilon: add missing dep bug #514610
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
@@ -15,10 +15,10 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples threads"
|
||||
|
||||
DEPEND=""
|
||||
DEPEND="app-arch/cpio"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
@@ -28,13 +28,13 @@ src_compile() {
|
||||
use threads && append-flags "-pthread"
|
||||
|
||||
emake PREFIX="/usr" CXX="$(tc-getCXX)" \
|
||||
CXXFLAGS="${CXXFLAGS}" LDFLAGS="$LDFLAGS" || die "emake failed"
|
||||
CXXFLAGS="${CXXFLAGS}" LDFLAGS="$LDFLAGS"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="/usr" DESTDIR="${D}" install || die "Install failed"
|
||||
emake PREFIX="/usr" DESTDIR="${D}" install
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins example/* || die "Failed to install examples"
|
||||
doins example/*
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user