diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2018-02-02 10:59:39 -0800 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2018-02-02 10:59:39 -0800 |
commit | fb28615105b32c2bbc56766ba6a0f79cb4a0dcd2 (patch) | |
tree | fa8179517956ceeaf6ea77e8eee7ae79ccafb278 | |
parent | media-video/mjpg-streamer: switched to RPi fork, still testing (diff) | |
download | arm-fb28615105b32c2bbc56766ba6a0f79cb4a0dcd2.tar.gz arm-fb28615105b32c2bbc56766ba6a0f79cb4a0dcd2.tar.bz2 arm-fb28615105b32c2bbc56766ba6a0f79cb4a0dcd2.zip |
media-video/mjpg-streamer: move sed invocation to src_install
Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
-rw-r--r-- | media-video/mjpg-streamer/mjpg-streamer-9999.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/media-video/mjpg-streamer/mjpg-streamer-9999.ebuild b/media-video/mjpg-streamer/mjpg-streamer-9999.ebuild index 0270582..bddf995 100644 --- a/media-video/mjpg-streamer/mjpg-streamer-9999.ebuild +++ b/media-video/mjpg-streamer/mjpg-streamer-9999.ebuild @@ -46,9 +46,6 @@ S="${WORKDIR}/${P}/mjpg-streamer-experimental" src_configure() { append-cxxflags -std=gnu++11 cmake-utils_src_configure - - sed -i -e 's|usr/lib|usr/$(get_libdir)|' \ - "${FILESDIR}"/mjpg-streamer.initd || die } src_install() { @@ -56,6 +53,8 @@ src_install() { newinitd "${FILESDIR}"/${PN}.initd ${PN} newconfd "${FILESDIR}"/${PN}.confd ${PN} + + sed -i -e 's|usr/lib|usr/$(get_libdir)|g' /etc/init.d/${PN} } pkg_postinst() { |