$NetBSD: patch-CMakeLists.txt,v 1.7 2025/02/26 22:05:41 adam Exp $

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

--- CMakeLists.txt.orig	2024-12-11 13:37:26.000000000 +0000
+++ CMakeLists.txt
@@ -131,8 +131,9 @@ endif()
 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
 ########################################################################
