media-sound/pnmixer: fix manpage install destination

This commit is contained in:
Julian Ospald 2017-05-27 12:37:46 +02:00
parent fff8043201
commit 904c63ca25
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,20 @@
From e28f40d13da702dd5074b85996ea520006f6d3fb Mon Sep 17 00:00:00 2001
From: Arnaud Rebillout <elboulangero@gmail.com>
Date: Sat, 27 May 2017 14:51:17 +0700
Subject: [PATCH] Fix manpage destination
---
data/man/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/man/CMakeLists.txt b/data/man/CMakeLists.txt
index 471ec9a..f7db0ba 100644
--- a/data/man/CMakeLists.txt
+++ b/data/man/CMakeLists.txt
@@ -1,5 +1,5 @@
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/pnmixer.1.in
${CMAKE_CURRENT_BINARY_DIR}/pnmixer.1)
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pnmixer.1" DESTINATION "${CMAKE_INSTALL_MANDIR}")
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pnmixer.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")

View File

@ -7,3 +7,7 @@ require pnmixer [ release=v${PV/_rc/-rc} ]
SLOT="0"
PLATFORMS="~amd64"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/e28f40d13da702dd5074b85996ea520006f6d3fb.patch
)