From 8e464b6fdf34766151324b3487e1fdb1142a9ae0 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 9 Aug 2016 12:26:48 -0700 Subject: [PATCH] pkg: move hledger-ui comment --- hledger-ui/package.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index 6e074bd6c..6d550adf8 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -35,16 +35,6 @@ flags: description: If building with time < 1.5, also depend on old-locale. Set automatically by cabal. manual: false default: false -# curses is required to build terminfo for vty for hledger-ui. -# On POSIX systems it might be not present. -# On windows it's very likely not present, but possibly it could be. -# Ideally we'd like to -# on POSIX: give a clear error ("install your system libcurses-dev package") if not present -# on windows: quietly skip building if not present, build if it is present -# curses -# default: True -# description: -# For now, just don't build hledger-ui on windows cpp-options: -DVERSION="0.28" executables: hledger-ui: @@ -80,6 +70,16 @@ executables: - transformers - vector when: + # curses is required to build terminfo for vty for hledger-ui. + # On POSIX systems it might be not present. + # On windows it's very likely not present, but possibly it could be. + # Ideally we'd like to + # on POSIX: give a clear error ("install your system libcurses-dev package") if not present + # on windows: quietly skip building if not present, build if it is present + # curses + # default: True + # description: + # For now, just don't build hledger-ui on windows - condition: os(windows) then: buildable: false