diff --git a/gnu/packages/notcurses.scm b/gnu/packages/notcurses.scm index 591bed23ef..20b2cbb225 100644 --- a/gnu/packages/notcurses.scm +++ b/gnu/packages/notcurses.scm @@ -1,5 +1,6 @@ ;;; Copyright © 2021 Blake Shaw ;;; Copyright © 2022 Marius Bakke +;;; Copyright © 2023 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -59,6 +60,10 @@ (define-public notcurses "-DUSE_COVERAGE=off" ;; Do not build HTML documentation "-DUSE_DOXYGEN=off" + ;; Unfortunately this disables the manpages. + ,@(if (supported-package? pandoc) + '() + '("-DUSE_PANDOC=off")) ;; Don't include mouse support "-DUSE_GPM=off" ;; Use FFmpeg for multimedia support @@ -66,9 +71,12 @@ (define-public notcurses ;; Follow the Debian Free Software Guidelines, omitting nonfree content. "-DDFSG_BUILD=ON"))) (native-inputs - (list pkg-config - pandoc - doctest)) + (append + (list pkg-config) + (if (supported-package? pandoc) + (list pandoc) + '()) + (list doctest))) (inputs (list ffmpeg libdeflate