summaryrefslogtreecommitdiff
path: root/ham/uhd/patches/patch-CMakeLists.txt
blob: 3c6527f91dd718de233099d3c6ff8f596a9bcc14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-CMakeLists.txt,v 1.2 2020/04/07 15:51:50 mef Exp $

Allow overrides on PKG_DOC_DIR and PKG_MAN_DIR.
https://github.com/EttusResearch/uhd/issues/301

--- host/CMakeLists.txt.orig	2020-01-01 13:21:49.000000000 +0900
+++ CMakeLists.txt	2020-04-08 00:03:10.169349083 +0900
@@ -124,8 +124,9 @@
 if(NOT DEFINED PKG_DOC_DIR)
     set(PKG_DOC_DIR share/doc/uhd)
 endif()
+if(NOT DEFINED PKG_MAN_DIR)
 set(PKG_MAN_DIR share/man/man1)
-
+endif()
 ########################################################################
 # UHD config files
 ########################################################################