head	1.2;
access;
symbols
	pkgsrc-2026Q2:1.2.0.28
	pkgsrc-2026Q2-base:1.2
	pkgsrc-2026Q1:1.2.0.26
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.24
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.2.0.22
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.2.0.20
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.18
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.16
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.14
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.2.0.12
	pkgsrc-2024Q2-base:1.2
	pkgsrc-2024Q1:1.2.0.10
	pkgsrc-2024Q1-base:1.2
	pkgsrc-2023Q4:1.2.0.8
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.6
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.4
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.2
	pkgsrc-2023Q1-base:1.2;
locks; strict;
comment	@# @;


1.2
date	2023.01.21.16.26.23;	author pho;	state Exp;
branches;
next	1.1;
commitid	9Ep6bQxK16nYzqaE;

1.1
date	2023.01.21.04.49.25;	author pho;	state Exp;
branches;
next	;
commitid	gQciHoJyTRZRImaE;


desc
@@


1.2
log
@Add a merge request URL to a patch
@
text
@$NetBSD: patch-utils_haddock_haddock.cabal,v 1.1 2023/01/21 04:49:25 pho Exp $

Don't assume we always build the threaded RTS.

Pull request:
https://github.com/haskell/haddock/pull/1575

--- utils/haddock/haddock.cabal.orig	2023-01-11 07:37:47.265320221 +0000
+++ utils/haddock/haddock.cabal
@@@@ -59,12 +59,16 @@@@ flag in-ghc-tree
   description: Are we in a GHC tree?
   default: False
   manual: True
+flag threaded
+  default: False
 
 executable haddock
   default-language:     Haskell2010
   main-is:              Main.hs
   hs-source-dirs:       driver
-  ghc-options:          -funbox-strict-fields -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -O2 -threaded
+  ghc-options:          -funbox-strict-fields -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
+  if flag(threaded)
+    ghc-options: -threaded
 
   -- haddock typically only supports a single GHC major version
   build-depends:
@


1.1
log
@lang/ghc94: import ghc-9.4.4

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.4.x release series.
@
text
@d1 1
a1 1
$NetBSD$
d3 4
a6 1
Don't assume we always build the threaded RTS. Not upstreamed yet.
@

