head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2026.01.19.13.40.53; author mef; state Exp; branches; next ; commitid yWKM2nfdqQdYu0rG; desc @@ 1.1 log @ham/wsjtx: import wsjtx-2.5.4 Weak Signal Communication Software WSJT-X, WSJT, MAP65, and WSPR are open-source programs designed for weak-signal digital communication by amateur radio. Normal usage requires a standard SSB transceiver and a personal computer with soundcard, or the equivalent. SDR-style hardware including the SDR-IQ, Perseus, SoftRock, and FUNcube Dongle is supported by MAP65 and WSPR. SimJT is a utility program that generates simulated signals for test purposes. All of the programs are available free of charge, licensed under the GNU General Public License. Installation packages for WSJT-X are available for Windows, Linux, and OS X; WSJT and WSPR have Windows and Linux packages, and MAP65 and SimJT are Windows only. For further details about source code and operating systems, see the Program Development page. @ text @$NetBSD$ 1. From FreeBSD ports 2.5.4 2. To fix /usr/bin/ld: cannot find -lwsjt_fort_omp: No such file or directory (info from) https://www.repo.radio/w4kek/WSJT-X/commit/2e3cec2201c33e16c2057958d0eb65ac0f2144a9?style=split&whitespace=show-all&show-outdated= --- CMakeLists.txt.orig 2021-12-28 18:31:58.000000000 +0900 +++ CMakeLists.txt 2025-10-12 14:16:36.191438094 +0900 @@@@ -868,7 +868,7 @@@@ # OpenMP # find_package (OpenMP) - +set (OpenMP_C_FLAGS "-fopenmp") # # fftw3 single precision library # @@@@ -885,7 +885,7 @@@@ check_type_size (CACHE_ALL HAMLIB_OLD_CACHING) check_symbol_exists (rig_set_cache_timeout_ms "hamlib/rig.h" HAVE_HAMLIB_CACHING) -find_package (Usb REQUIRED) +#find_package (Usb REQUIRED) # # Qt5 setup @@@@ -915,7 +915,7 @@@@ # set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra") -set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -fexceptions -frtti") +set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fexceptions -frtti") if (NOT APPLE) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-pragmas") @@@@ -1161,7 +1161,7 @@@@ target_link_libraries (encode77 wsjt_fort wsjt_cxx) add_executable (wsprsim ${wsprsim_CSRCS}) -target_link_libraries (wsprsim ${LIBM_LIBRARIES}) +target_link_libraries (wsprsim "-lm") add_executable (jt4code lib/jt4code.f90) target_link_libraries (jt4code wsjt_fort wsjt_cxx) @@@@ -1442,7 +1442,7 @@@@ ) target_include_directories (wsjtx PRIVATE ${FFTW3_INCLUDE_DIRS}) -if (APPLE) +if ((NOT ${OPENMP_FOUND}) OR APPLE) target_link_libraries (wsjtx wsjt_fort) else () target_link_libraries (wsjtx wsjt_fort_omp) @