notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: Mk/Uses/cabal.mk
SVNWeb

Number of commits found: 31

Sat, 12 Jun 2021
[ 10:14 Gleb Popov (arrowd) search for other commits by this committer ]    commit hash:1d2372ec7f975ad32da34c3bd4031046741ee32c  1d2372e 
Uses/cabal.mk: Omit "_0" part of the package version in make-use-cabal-revs
Fri, 4 Jun 2021
[ 16:43 Gleb Popov (arrowd) search for other commits by this committer ]    commit hash:8c54911133d9418d2d4a1d006965a223f72ab98e  8c54911 
Uses/cabal.mk: Fix make-use-cabal-revs after upstream changes.

Hackage now returns a JSON array with all revisions, so sed/grep trickery
is not working anymore. Use Python to parse the reply and extract revision
number.
Mon, 24 May 2021
[ 06:32 Gleb Popov (arrowd) search for other commits by this committer ]    commit hash:0da1ad3eb5beb90ab1b86ff0e478a9ab0f08baca  0da1ad3 
Uses/cabal.mk: Make cabal-extract-deps target overridable.
Wed, 19 May 2021
[ 14:13 Gleb Popov (arrowd) search for other commits by this committer ]    commit hash:1db88699b09ff53bf0029cb8a01dad1e7f646a4c  1db8869 
Uses/cabal.mk: Improve our Cabal machinery.

- Introduce CABAL_PROJECT variable to simplify handling project files in ports.
- Put dependencies into ${WRKSRC}/_cabal_deps subdir to make WRKSRC look
  clean after `extract` stage.
- Perform cabal.project trickery on post-patch stage to allow users to fiddle
  with the original one before creation.
- Document some code.
Fri, 14 May 2021
[ 19:11 Gleb Popov (arrowd) search for other commits by this committer ]    commit hash:8d6788c0871e0f0ee69678265c5f4707d28484fb  8d6788c 
Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps.
Thu, 29 Apr 2021
[ 05:39 Gleb Popov (arrowd) search for other commits by this committer ]    commit hash:f4397f5de0408abed022dca95ac78ba27686a205  f4397f5 
Uses/cabal.mk: Improve cabal-extract for USE_GITHUB/USE_GITLAB cases.

The `cabal-extract` is an auxiliary target that is intended to be run
interactively by the port developer. It populates Cabal cache and then tries
to fetch the main distribution file from Hackage package database. However,
some packages reside on GitHub and other hostings, in which case this target
fails. This commit modifies the target in such way that it does the usual
`make extract`, but preserves the Cabal cache.

Differential Revision: https://reviews.freebsd.org/D30014
Wed, 21 Apr 2021
[ 04:46 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:12837690ed0c7785f94e8793ddc13a57477ef319  1283769 
Mk/Uses/cabal.mk: Replace shell process in EXECUTABLES wrapper scripts

The wrapper scripts leave the shell running for no reason.  Add an
exec to replace the shell process.

Before:
$ ps -d
35230  5  Ss    0:00.09 -oksh (oksh)
35351  5  S+    0:00.00 - /bin/sh /usr/local/bin/shellcheck -
35352  5  S+    0:00.00 `-- /usr/local/libexec/cabal/shellcheck -

After:
$ ps -d
35230  5  Is    0:00.05 -oksh (oksh)
35236  5  I+    0:00.01 - /usr/local/libexec/cabal/shellcheck -

Approved by:	arrowd
Differential Revision:	https://reviews.freebsd.org/D29852
[ 04:33 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:a0109ed75443d8b475f04f1844c6dbcab84d6702  a0109ed 
Mk/Uses/cabal.mk: use ECHO_CMD not ECHO (D29852)

ECHO is set to true on make -s in /usr/share/mk/sys.mk and shouldn't
be used for things like this.

Approved by:	arrowd
Tue, 6 Apr 2021
[ 14:27 Mathieu Arnold (mat) search for other commits by this committer ]    commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  5d33e04  (Only the first 10 of 224 ports in this commit are shown above. View all ports for this commit)
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
Wed, 10 Mar 2021
[ 12:31 arrowd search for other commits by this committer ] Original commit   Revision:567995
devel/hs-cabal-install: Update to 3.4.0.0 and adjust Uses/cabal.mk to its
changes.
[ 08:00 arrowd search for other commits by this committer ] Original commit   Revision:567989
Uses/cabal.mk: Take into account MAKE_JOBS_NUMBERS.
Thu, 7 Jan 2021
[ 12:17 arrowd search for other commits by this committer ] Original commit   Revision:560704
Uses/cabal.mk: Add "nodefault" argument.
Mon, 4 Jan 2021
[ 11:31 arrowd search for other commits by this committer ] Original commit   Revision:560282
Uses/cabal.mk: More correct fix for EXTRACT_ONLY problem from r559679.
Wed, 30 Dec 2020
[ 18:57 arrowd search for other commits by this committer ] Original commit   Revision:559679
Uses/cabal.mk: Set EXTRACT_ONLY based on DISTFILES value, just like bsd.port.mk
does.

This removes the need for specifying EXTRACT_ONLY for Haskell ports that have
USE_{GITHUB,GITLAB}.

PR:		244784
Sat, 4 Jul 2020
[ 18:11 zeising search for other commits by this committer ] Original commit   Revision:541232 (Only the first 10 of 105 ports in this commit are shown above. View all ports for this commit)
Chanse update of devel/libffi

Chase the devel/libffi update
Bump portrevision of all dependent ports to chace shard library version bump
in libffi.
Update LIB_DEPENDS lines where needed to not require a specific version of
libffi.so.

PR:		247028 (for tracking)
Thu, 28 May 2020
[ 14:29 arrowd search for other commits by this committer ] Original commit   Revision:536771
Mk/Uses/cabal.mk: Modify make-use-cabal target to also show some build tools in
its output.
Mon, 4 May 2020
[ 18:08 arrowd search for other commits by this committer ] Original commit   Revision:533933 (Only the first 10 of 166 ports in this commit are shown above. View all ports for this commit)
Upgrade lang/ghc to 8.8.3 and many Haskell ports along the way.

PR:		244784
Submitted by:	Evilham <contact@evilham.com> (some ports)
Mon, 16 Mar 2020
[ 19:59 arrowd search for other commits by this committer ] Original commit   Revision:528542
Mk/Uses/cabal.mk: Wrap *.cabal argument in ticks.
Sun, 23 Feb 2020
[ 07:30 tobik search for other commits by this committer ] Original commit   Revision:526884
Mk/Uses/cabal.mk: Fix typo in make-use-cabal-revs ENV vs. SETENV

While this typo is harmless when ENV is undefined in the environment,
ENV is also used by oksh(1) or sh(1) to source files on startup,
so when it set to some file like ~/.shrc it breaks the entire
command.
Wed, 25 Sep 2019
[ 16:57 arrowd search for other commits by this committer ] Original commit   Revision:512795
cabal.mk: Move hpack invocation to post-patch stage, as sometimes we need to
patch package.yaml before feeding it to hpack.
Wed, 31 Jul 2019
[ 18:18 arrowd search for other commits by this committer ] Original commit   Revision:507727
devel/hs-git-annex: Fix git-annex-shell and git-remote-tor-annex executables.

PR:		239289
Mon, 29 Jul 2019
[ 07:53 arrowd search for other commits by this committer ] Original commit   Revision:507562
Uses/cabal.mk: In case of wrong arguments, print the wrong one, not all of them.

Reported by:	tobik
Sun, 28 Jul 2019
[ 10:16 arrowd search for other commits by this committer ] Original commit   Revision:507506
Mk/Uses/cabal.mk: Check for invalid args.

Reported by:	tobik
Fri, 26 Jul 2019
[ 16:52 arrowd search for other commits by this committer ] Original commit   Revision:507361
Add support for USES= cabal:hpack and document this option.
Sun, 21 Jul 2019
[ 18:37 arrowd search for other commits by this committer ] Original commit   Revision:507062
cabal.mk: Transforms check-revs aux target into make-use-cabal-revs, which works
much better.

Submitted by:	Evilham <contact@evilham.com>
[ 14:59 arrowd search for other commits by this committer ] Original commit   Revision:507054
Make `make-use-cabal` aux target output an item per line.
Thu, 4 Jul 2019
[ 18:44 arrowd search for other commits by this committer ] Original commit   Revision:505861
cabal.mk: Pass `--disable-benchmarks --disable-tests` in do-build rule.
This cuts down amount of required dependencies and decreases build time.
Thu, 20 Jun 2019
[ 16:03 arrowd search for other commits by this committer ] Original commit   Revision:504637 (Only the first 10 of 36 ports in this commit are shown above. View all ports for this commit)
In wrapper scripts, use $@ instead of $* to correctly pass arguments to the real
program

PR:		238719
Approved by:	tcberner (mentor, implicit)
Thu, 13 Jun 2019
[ 13:57 arrowd search for other commits by this committer ] Original commit   Revision:504093 (Only the first 10 of 50 ports in this commit are shown above. View all ports for this commit)
For ports with USES=cabal install a wrapper shell script instead of a real
executable into /bin/, that sets some environment variables to workaround
https://github.com/haskell/cabal/issues/5997

While there, update bunch of Haskell ports, install their data files.

PR:		237878
Reviewed by:	tcberner
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D20556
Thu, 9 May 2019
[ 15:02 arrowd search for other commits by this committer ] Original commit   Revision:501105
Restore "hs-" package name prefix for Haskell packages.

Reported by:	mat
Approved by:	mat
[ 14:39 arrowd search for other commits by this committer ] Original commit   Revision:501101 (Only the first 10 of 102 ports in this commit are shown above. View all ports for this commit)
Introduce USES=cabal and use it to build Haskell applications.

PR:		230186
Reviewed by:	mat, tcberner
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19730

Number of commits found: 31