commit:     2e024f67875b7a2c1bbb4122796aee372de2f805
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 22:51:42 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 22:51:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e024f67

net-misc/vncsnapshot: simplify ebuild

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild 
b/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild
index 133346f838c..91d250b58b9 100644
--- a/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild
+++ b/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild
@@ -41,8 +41,9 @@ src_prepare() {
 }
 
 src_compile() {
-       # Note: We override CDEBUGFLAGS instead of CFLAGS because otherwise
-       #       we lose the INCLUDES in the makefile.
+       # We override CDEBUGFLAGS instead of CFLAGS because otherwise
+       # we lose the INCLUDES in the makefile. The same flags are used
+       # for both.
        # bug #295741
        local args=(
                AR="$(tc-getAR)"
@@ -56,7 +57,5 @@ src_compile() {
 
 src_install() {
        dobin vncsnapshot
-
-       cp vncsnapshot.man1 vncsnapshot.1 || die
-       doman vncsnapshot.1
+       newman vncsnapshot.man1 vncsnapshot.1
 }

Reply via email to