head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2025.01.29.13.21.53; author pho; state Exp; branches; next ; commitid BioNou7xEmeVNnHF; desc @@ 1.1 log @lang/ghc910: import ghc-9.10.1 GHC: The Glasgow Haskell Compiler. The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler for the functional programming language Haskell 98 (http://www.haskell.org). GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell, including concurrency, a foreign language interface, several type-system extensions, exceptions, and so on. GHC comes with a generational garbage collector, a space and time profiler, and a comprehensive set of libraries. This package provides the 9.10.x release series. @ text @$NetBSD$ Add a way to remove tool dependency on alex, otherwise it cannot be built without having devel/alex preinstalled, which is impossible because devel/alex cannot be built without GHC. TODO: Upstream this. --- libraries/Cabal/Cabal-syntax/Cabal-syntax.cabal.orig 2025-01-11 14:49:32.211381314 +0000 +++ libraries/Cabal/Cabal-syntax/Cabal-syntax.cabal @@@@ -23,6 +23,13 @@@@ source-repository head location: https://github.com/haskell/cabal/ subdir: Cabal-syntax +-- Hadrian is supposed to disable this flag because the user may be +-- building from a source distribution where the parser has already been +-- generated. +Flag build-tool-depends + Description: Use build-tool-depends + Default: True + library default-language: Haskell2010 hs-source-dirs: src @@@@ -56,7 +63,8 @@@@ library if impl(ghc >= 8.10) ghc-options: -Wunused-packages - build-tool-depends: alex:alex + if flag(build-tool-depends) + build-tool-depends: alex:alex exposed-modules: Distribution.Backpack @