CVS log for pkgsrc/mk/haskell.mk
Up to [cvs.NetBSD.org] / pkgsrc / mk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Jun 13 14:37:38 2026 UTC (5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
HEAD
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2
lines
haskell: switch HOMEPAGE to https
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Mar 7 13:06:19 2025 UTC (20 months, 1 week ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -1
lines
mk/haskell.mk: new tools: gtk2hs-buildtools, hpack
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Feb 2 12:55:38 2025 UTC (21 months, 1 week ago) by pho
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2
lines
mk/haskell.mk: Switch the default compiler to GHC 9.10 (lang/ghc910)
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Jan 13 03:10:07 2025 UTC (22 months ago) by pho
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2
lines
mk/haskell.mk: Fix build issues that happens when ${WRKDIR} has a trailing '/'
On Darwin ${TMPDIR} is not just "/tmp" but it's a long path something like
"/var/folders/.../", which ends with a slash symbol. This directory needs
to be listed in BUILDLINK_PASSTHRU_DIRS without the trailing slash,
otherwise packages using Template Haskell fail to build.
Due to an unrelated reason converters/pandoc still doesn't build on
Darwin. I have a fix locally, but I can't just commit it yet.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed May 8 12:12:28 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2
lines
mk/haskell.mk: Switch the default compiler to lang/ghc98
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon May 6 09:33:22 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -50
lines
mk/haskell.mk: Rework the installation script
It turned out the old script didn't work for packages containing 10 or more internal libraries. It affected devel/haskell-language-server.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat May 4 11:21:26 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +33 -10
lines
mk/haskell.mk: New package-settable variable: HASKELL_DISABLE_LIBRARIES
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Apr 29 07:58:38 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +29 -12
lines
mk/haskell.mk: Optimization: Try runghc first
Compile ./Setup if runghc fails. It's significantly faster this way.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Apr 28 20:02:21 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2
lines
mk/haskell.mk: Revert the default Haskell compiler to GHC 9.6
I accidentally changed it. We're not ready for that.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Apr 28 19:11:43 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -5
lines
mk/haskell.mk: Additional fix for bulk build
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Apr 28 19:08:37 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +11 -17
lines
mk/haskell.mk: Revert the revision 1.59
My optimization broke bulk build. I'll need to do something else later.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Apr 28 14:17:49 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2
lines
mk/haskell.mk: pkglint doesn't like ${FOO:ts\t}
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Apr 28 14:13:48 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +30 -7
lines
mk/haskell.mk: New package-settable variable: HASKELL_DISABLE_EXECUTABLES
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Apr 28 10:58:06 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -2
lines
mk/haskell.mk: New target check-hackage to check for updates
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Apr 28 08:55:37 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +17 -6
lines
mk/haskell/{DE,}INSTALL.in: Be explicit about Haskell package DB to work with
Prior to this change the DEINSTALL hook for Haskell packages left garbage files in ${LOCALBASE}/lib/ghc-X.Y.Z/lib/package.conf.d when the major version of GHC changed.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Apr 28 08:33:44 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +15 -9
lines
mk/haskell.mk: Small optimization
Make use of MAKEVARS to avoid invoking external commands repeatedly.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Nov 1 17:55:08 2023 UTC (3 years ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -1
lines
mk/haskell.mk: Suppress warnings about -fsplit-sections on Darwin
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Oct 31 03:24:39 2023 UTC (3 years ago) by pho
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2
lines
mk/haskell.mk: Switch the default Haskell compiler to lang/ghc96
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Oct 29 07:51:22 2023 UTC (3 years ago) by pho
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
mk/haskell.mk (HASKELL_UNRESTRICT_DEPENDENCIES): Tighten the regex futher to avoid unintended matches
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Oct 9 05:30:01 2023 UTC (3 years, 1 month ago) by pho
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2
lines
mk/haskell.mk: Narrow the pattern to conditionalize Haddock documentation files in PRINT_PLIST_AWK
We were previously conditionalizing everything under share/doc, which was
incorrect because packages could also install LICENSE files there.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Feb 1 03:37:21 2023 UTC (3 years, 9 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
mk/haskell.mk: Change the compiler from lang/ghc92 to lang/ghc94
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Jan 30 11:09:42 2023 UTC (3 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
mk/haskell.mk: Tighten the regex for HASKELL_UNRESTRICT_DEPENDENCIES to prevent unintended substitutions
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jan 24 11:57:09 2023 UTC (3 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +21 -8
lines
mk/haskell.mk: New package-settable variable HASKELL_ENABLE_TESTS, disabled by default
It turned out to be a bad idea to define a do-test target
unconditionally. Tests can only be run when they are built, but they
usually require additional dependencies so it can't be enabled by default.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jan 24 04:50:24 2023 UTC (3 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -1
lines
mk/haskell.mk: Do not define the target "do-test" if it's already there, suggested by riastradh@
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jan 24 04:28:28 2023 UTC (3 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
mk/haskell.mk: Improve the regex for HASKELL_UNRESTRICT_DEPENDENCIES
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Sep 8 15:18:48 2022 UTC (4 years, 2 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2
lines
mk/haskell.mk: Fix typos in a comment
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Sep 8 07:38:50 2022 UTC (4 years, 2 months ago) by pho
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +14 -5
lines
mk/haskell.mk: print-PLIST: Prefix optionally-built files with ${PLIST.*}
HASKELL_ENABLE_SHARED_LIBRARY, HASKELL_ENABLE_LIBRARY_PROFILING, and
HASKELL_ENABLE_HADDOCK_DOCUMENTATION are user-settable variables that can
affect the set of installed files. `make print-PLIST' should automatically
handle these.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Sep 8 05:26:16 2022 UTC (4 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4
lines
mk: fix typos in comments
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Sep 8 04:45:44 2022 UTC (4 years, 2 months ago) by pho
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +31 -0
lines
mk/haskell.mk: New package-settable variable "HASKELL_UNRESTRICT_DEPENDENCIES"
It's a list of Cabal package names whose version constraints need to be
relaxed. This should free ourselves from needing to patch *.cabal files
most of the time. Suggested by wiz@
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Sep 8 03:42:10 2022 UTC (4 years, 2 months ago) by pho
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +15 -6
lines
mk/haskell.mk: Improve `show-all-haskell' outputs
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jul 23 07:14:54 2022 UTC (4 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -9
lines
mk/haskell.mk: remove pkg-config hiding workaround
pkg-config is now hidden by default if not in USE_TOOLS
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Feb 26 03:55:37 2022 UTC (4 years, 8 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1
lines
mk/haskell.mk: Enable --enable-split-sections
Ask GHC to put each compiled function in a separate section and ld(1) to
perform GC. This greatly reduces the size of executables linked with static
Haskell libraries. For example, lang/purescript shrinks down from 104 MiB
to 57 MiB! Reduced storage use means reduced I/O cost!
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Feb 23 16:03:00 2022 UTC (4 years, 8 months ago) by pho
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +18 -3
lines
mk/haskell.mk: Add a package-settable variable HASKELL_ENABLE_DYNAMIC_EXECUTABLE
Prior to this change, packages that install both libraries and executables
were both linked dynamically when HASKELL_ENABLE_SHARED_LIBRARY is set to
yes. This turned out to be problematic when the executables end up
depending on hundreds of shared objects (which occurs rather frequently for
tools written in Haskell): the dynamic linker spends several seconds upon
loading the executables to resolve all the symbols.
Now we can selectively opt out from dynamic linkage by setting
HASKELL_ENABLE_DYNAMIC_EXECUTABLE to no. This should be done carefully,
because linking executables with static Haskell libraries means that those
executables will also use static RTS. This causes problems if they use GHC
API to interpret Haskell code at run time: static RTS would violate PaX
MPROTECT and suffer from ASLR while loading static objects.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Feb 12 08:38:15 2022 UTC (4 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
mk/haskell.mk: Switch the default Haskell compiler to lang/ghc92
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 11 05:24:06 2022 UTC (4 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -5
lines
Wrote a packaging guide for Haskell packages
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Feb 11 01:11:57 2022 UTC (4 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +109 -30
lines
Infrastructure improvements and bugfixes to mk/haskell.mk
* mk/haskell.mk no longer set USE_TOOLS+=pkg-config for all the packages
that include it. Instead it does TOOLS_FAIL+=pkg-config unless they
explicitly do USE_TOOLS.
* Fixed an issue regarding Template Haskell and our wrappers.
* Fixed an issue where packages that had things like PLIST.common but
lacked PLIST were incorrectly considered to have no PLISTs.
* mk/haskell.mk now supports packages that contain more than a single
library. The INSTALL and DEINSTALL scripts can now handle such packages
properly.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Feb 7 02:58:24 2022 UTC (4 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -3
lines
Warn when PLIST is missing, not just when it is outdated
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jan 18 02:24:36 2022 UTC (4 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -3
lines
Support PKGSRC_MKPIE
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Sep 27 14:30:47 2021 UTC (5 years, 1 month ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1
lines
Disable MKPIE in Haskell.
Presumably there's a way to make this work, but it probably requires
changes to the bootstrap kits.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 4 15:44:33 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +16 -1
lines
Support PKGSRC_USE_RELRO
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun May 2 13:39:25 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
Switch the default compiler to lang/ghc90
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat May 1 16:14:19 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -0
lines
Use tools framework for Haskell source preprocessors
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat May 1 15:06:26 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -30
lines
Move lengthy awk and shell scripts out of haskell.mk
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat May 1 14:24:21 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
Fix a bug in my previous commit
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat May 1 14:10:55 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +38 -1
lines
Support Cabal packages that lack Setup.?hs
They currently have Setup.hs in ${FILESDIR} with almost always the same
content. We can do better than that.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Apr 23 03:57:16 2021 UTC (5 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +44 -42
lines
Rework the PLIST handling to support executable-only packages
It was a long-standing issue that Haskell packages which didn't contain a
library could not be correctly handled.
There are fewer substitutions in PLIST_SUBST now. As a result existing
PLIST files will all be considered as outdated and should be updated
either by setting HS_UPDATE_PLIST=yes or by manually running print-PLIST.
They will be ignored until that.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Mar 14 08:19:24 2021 UTC (5 years, 8 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +9 -3
lines
mk/haskell.mk: Ignore per-user package environment file while building 'Setup'
Turned out this was necessary when using `cabal-install v2-install` outside of pkgsrc, because the command creates a per-user package environment and in turn makes Cabal hidden.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jul 1 15:07:25 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +22 -10
lines
mk/haskell.mk: clean up _VARGROUPS section and unused variables
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Jul 1 14:58:43 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +42 -131
lines
mk/haskell.mk: remove variable HASKELL_COMPILER, clean up documentation
There was only a single valid value for HASKELL_COMPILER, therefore the
variable was useless. It only made the implementation more complicated
than necessary.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jun 29 22:00:58 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +9 -9
lines
mk/haskell.mk: regenerate PLIST if it is outdated
Now that haskell.mk distinguishes between plain and outdated PLIST files,
this is possible again. When haskell.mk knew only missing and outdated,
this was still ambiguous and therefore skipped.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 29 20:51:24 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -4
lines
mk/haskell.mk: fix PLIST status detection
As seen in devel/hs-hashable/PLIST r1.1, which listed only the
package-description but not the package-id.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 29 20:30:13 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +15 -13
lines
mk/haskell.mk: only add PLIST_SUBST and PRINT_PLIST_AWK if useful
The PLIST_SUBST and PLIST_PRINT_AWK definitions for Haskell library
packages are only useful if the package-description file exists. If
that file is absent though, these are skipped.
The test whether the file exists is made as late as possible since that
file does not yet exist at the point where the package Makefile is
parsed.
This also affects the show-all-haskell target, which only shows these
values after the install phase. This is not perfect but good enough for
practical cases.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jun 29 18:07:45 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -1
lines
mk/haskell.mk: fix PLIST status detection
Before, running "HS_UPDATE_PLIST=yes bmake update" in wm/xmonad did not
apply the proper substitutions to the generated PLIST file since the
PLIST file was created empty during the GENERATE_PLIST command, and that
empty PLIST file changed the status to "plain" instead of "missing".
Because of that, the HS_INTF and related placeholders were not defined.
The 2 conditions for the status "missing" had to be written in separate
.if clauses because of a bug in bmake that was introduced in 2015 and
will be fixed with the next bmake update. For further details, see
src/usr.bin/make/unit-tests/cond-short.mk.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 21 22:21:02 2020 UTC (6 years, 4 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base,
pkgsrc-2020Q2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +30 -20
lines
mk/haskell.mk: fix PLIST generation for Haskell packages
The package textproc/hs-cgrep does not install a Haskell library. This
was unexpected to mk/haskell.mk, which generated an obviously wrong PLIST
file for that package, and for 3 other packages.
Noticed by wiz.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 10 17:46:59 2020 UTC (6 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +64 -17
lines
mk/haskell.mk: allow to generate PLIST files
Since GHC 7.10 or 7.8, the Haskell packages are installed in directories
whose name contains the package hash. This made it harder to predict the
exact pathname. Havin the exact pathnames in the PLIST file is the
ideal, it also helps to record the general structure of the installed
files to see whether some file unexpectedly appear or disappear.
To enable this for Haskell packages, the various base directories are
replaced with placeholders during print-PLIST. These placeholders are
translated back to their respective paths when the +PLIST is generated
from the PLIST in the package directory.
Except for 2 packages, all Haskell packages in main pkgsrc had their
package PLIST file removed. To help in adding them back, the pkgsrc
developer can set HS_UPDATE_PLIST=yes in mk.conf, which will generate the
PLIST directly into ${PKGDIR}/PLIST upon installation.
Most packages in pkgsrc-wip still have their old PLIST, and these are
migrated automatically as well.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Mar 30 18:23:48 2020 UTC (6 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1
lines
Missed a spot -- set MAKE_ENV during haddock build too.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 30 17:51:07 2020 UTC (6 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1
lines
In Haskell packages, set MAKE_ENV while running ./Setup build.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Mar 30 16:51:53 2020 UTC (6 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2
lines
New package variable HASKELL_PKG_NAME.
Used to form _HASKELL_PKG_DESCR_DIR. Defaults to DISTNAME, but for
some packages (hledger, incoming), the same DISTNAME is shared by
multiple packages. So let the package define it explicitly if need
be.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 24 20:43:17 2020 UTC (6 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -7
lines
Don't use normal memory size limits with GHC for module builds.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 20 14:14:33 2020 UTC (6 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -10
lines
Build ${WRKSRC}/Setup in the do-configure phase
Doing it in pre-configure makes it unable to do SUBST in that phase.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 19 23:45:06 2020 UTC (6 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -14
lines
Use _MAKE_JOBS_N defined in build/build.mk
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 18 01:39:01 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +28 -4
lines
Configurable optimization level and compilation parallelism
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jan 11 07:47:18 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Switch from ghc7 to ghc88
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jan 9 12:29:32 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +14 -6
lines
Use hashed package keys for (un)installing Cabal packages
Starting from somewhere around GHC 7.8, Cabal installs packages with a
hashed package key instead of just "{NAME}-{VERSION}". In other words,
the pair of the plain package name and the version is no longer unique
in the package DB, and using it for uninstallation may also remove
packages that we didn't mean to remove.
This is paricularly problematic because GHC comes with several bundled
Cabal packages. Installing and uninstalling a package with the same
name could break GHC itself, if the uninstallation is performed
without hashed keys.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jan 2 16:45:15 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -2
lines
Be explicit about shared libraries
Recent versions of Cabal appears to build shared libraries by default unless --disable-shared is explicitly given.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jan 2 16:34:47 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -7
lines
Pass -v to ./Setup when PKG_VERBOSE is defined
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 1 04:54:10 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Suppress an error occurs when buildlink is not present
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 1 04:35:29 2020 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -9
lines
Remove unused variables
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Dec 31 07:16:25 2019 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -9
lines
For "Setup" try dynamic linkage first
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Dec 29 16:59:55 2019 UTC (6 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +38 -42
lines
Support GHC 7.10.x and later
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Apr 10 15:58:02 2016 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -12
lines
Remove support for USE_DESTDIR=no.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 17 13:57:47 2015 UTC (11 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3
lines
rpath flag and directory are one option, don't pass the path without
-Wl prefix.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 18 13:42:59 2014 UTC (12 years, 7 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +48 -8
lines
Some improvements and changes for Haskell Cabal support.
* HASKELL_ENABLE_LIBRARY_PROFILING and HASKELL_ENABLE_HADDOCK_DOCUMENTATION
are "User-settable variables", not "Package-settable variables".
* Change to HASKELL_ENABLE_HADDOCK_DOCUMENTATION=yes by default.
* Add HASKELL_ENABLE_SHARED_LIBRARY("yes" by default), to enable shlib support.
* Add support for dynamically conditional PLIST entries handling for
HASKELL_ENABLE_SHARED_LIBRARY and HASKELL_ENABLE_LIBRARY_PROFILING.
discussed with pho@ and szptvlfn@.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Feb 5 07:02:30 2014 UTC (12 years, 9 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1
add Haskell Cabal support files.
CVSweb <webmaster@jp.NetBSD.org>