non port: Mk/Uses/cabal.mk |
SVNWeb
|
Number of commits found: 63 |
Tue, 25 Apr 2023
|
[ 17:25 Gleb Popov (arrowd) ] f9a1f46
Uses/cabal.mk: Extend Clang workaround to FreeBSD 12.4
Reported by: pkg-fallout
|
Thu, 30 Mar 2023
|
[ 23:59 Muhammad Moinur Rahman (bofh) ] 5693229 (Only the first 10 of 30 ports in this commit are shown above. )
*/*: Sunset 12.3-RELEASE from ports tree
- Mk/bsd.port.mk: mark FreeBSD 12.3 as unsupported.
- Mk/Uses/cabal.mk: Remove the text-2 workaround for 12.3-RELEASE
- biology/wfa2-lib: remove obsolete patch
- databases/mongodb60: remove IGNORE for EOL FreeBSD 12.3
- devel/concurrencpp: remove workaround for EOL FreeBSD 12.3
- devel/electron22: remove IGNORE for EOL FreeBSD 12.3
- devel/malloy: this should build fine on 12.4-RELEASE
- devel/qcoro: remove BROKEN for EOL FreeBSD 12.3
- devel/root: remove workaround for EOL FreeBSD 12.3
- editors/imhex: remove IGNORE for EOL FreeBSD 12.3
- emulators/ppsspp: remove workaround for EOL FreeBSD 12.3
- emulators/rpcs3: remove workaround for EOL FreeBSD 12.3
- emulators/yuzu: remove workaround for EOL 12.3-RELEASE (Only the first 15 lines of the commit message are shown above )
|
Fri, 24 Mar 2023
|
[ 17:38 Gleb Popov (arrowd) ] 565a7ea
Uses/cabal.mk: Extend the text-2 workaround to 12.3-RELEASE.
|
Mon, 20 Mar 2023
|
[ 07:31 Gleb Popov (arrowd) ] 0d54165
Uses/cabal.mk: Fix indentation.
Reported by: fluffy
|
Sun, 19 Mar 2023
|
[ 19:47 Gleb Popov (arrowd) ] 1d1c5c6
Uses/cabal.mk: Add a workaround to fix compilation of text-2 on FreeBSD 13.1
|
Sun, 12 Mar 2023
|
[ 16:10 Gleb Popov (arrowd) ] c622ccc
Mk/Uses: Introduce HACKAGE_DISTNAME knob.
|
[ 07:15 Gleb Popov (arrowd) ] 4aa96fa
Uses/cabal.mk: Do not hide commands being run.
|
[ 07:15 Gleb Popov (arrowd) ] 3eb1fbc
Uses/cabal.mk: Pass correct XDG_* environment in cabal invocations.
|
Thu, 9 Mar 2023
|
[ 19:38 Gleb Popov (arrowd) ] 4caa2e2
Mk/Uses: Drop the "/package/" part of URI when calling cabal2tuple.
Some repositories unlike Hackage append "/package/" when accessing a package.
This confuses cabal2tuple, so chop it.
|
Mon, 27 Feb 2023
|
[ 18:11 Gleb Popov (arrowd) ] 37b6619
Uses/cabal.mk: Add support for LTO feature.
Haskell code benefits greatly from splitting functions into distinct ELF
sections and then letting the linker to garbage-collect them.
devel/hs-haskell-language-server port goes from 277MiB to 176MiB in size.
net-p2p/cardano-node ports goes 302MiB -> 76.2MiB
Relevant blog post: http://brandon.si/code/linking-smaller-haskell-binaries/
Reported by: Greg Steuck <greg@nest.cx>
|
Sun, 20 Nov 2022
|
[ 17:39 Gleb Popov (arrowd) ] 934c0a2
Uses/cabal.mk: Add support for building multi-repository cabal.projects.
To build such projects a port must add the repository to MASTER_SITES under
some group and then use this group in USE_CABAL.
Cabal2Tuple (ports-mgmt/hs-cabal2tuple) supports this feature starting with
version 2.0. Running `make make-use-cabal` will automatically pass necessary
flags to it.
|
[ 17:39 Gleb Popov (arrowd) ] 2fca709 (Only the first 10 of 90 ports in this commit are shown above. )
Uses/cabal.mk: Rework MASTER_SITES and DISTFILES handling.
This change removes duplicated entries from MASTER_SITES and DISTFILES
variables. Now the MASTER_SITES variable will contain single Hackage URL without
any group for the simplest case and with :_cabal_mk_hackage group in nodefault
case.
This change opens a path to using non-Hackage Cabal repositories
(needed for Cardano) and pulling in .cabal revisions without using patches.
Unfortunately, this change results in a large churn in Haskell ports distinfos.
To make this churn less useless, refresh all Haskell dependencies in all ports.
|
[ 17:39 Gleb Popov (arrowd) ] 9e425fc (Only the first 10 of 13 ports in this commit are shown above. )
Uses/cabal.mk: Introduce CABAL_REVISION knob.
This knob allows pulling in a revised .cabal file for a Haskell package
being ported. This allows us to drop local patches that were serving the
same purpose.
|
[ 17:39 Gleb Popov (arrowd) ] 56e3d88
Uses/cabal.mk: Use "cabal build --dry-run" in cabal-configure target.
In the future Cabal release the "cabal configure" command changes its meaning.
The closest thing to the configure step in Cabal is "build --dry-run".
|
[ 17:39 Gleb Popov (arrowd) ] e254bdd
Uses/cabal.mk: Change the way we act on cabal.project files.
Instead of moving the original project file into a temporary location,
employ cabal.project.local for Ports-related adjustments.
This implements an idea that upstream cabal.project files shouldn't be touched
by Ports framework. If needed they can be patched by the port maintainer
directly.
Adapt existing Haskell ports to this change.
|
[ 17:39 Gleb Popov (arrowd) ] b55505d
Uses/cabal.mk: Do not extract any USE_CABAL distfiles in cabal-extract.
|
[ 17:39 Gleb Popov (arrowd) ] d72b566
Uses/cabal.mk: Use .for directive to introduce temporary variables inside loops.
Suggested by: tijl
|
Tue, 20 Sep 2022
|
[ 13:11 Gleb Popov (arrowd) ] eaf7a4e
Uses/cabal.mk: Extend i386 brokeness to basement-0.0.15
|
Tue, 9 Aug 2022
|
[ 09:16 Gleb Popov (arrowd) ] 505ecf2 (Only the first 10 of 25 ports in this commit are shown above. )
Uses/cabal.mk: Rename `EXECUTABLES` to `CABAL_EXECUTABLES`.
Approved by: tcberner
Differential Revision: https://reviews.freebsd.org/D36079
|
Sun, 31 Jul 2022
|
[ 15:58 Gleb Popov (arrowd) ] 949672a
Uses/cabal.mk: Fix `cabal-extract` target when GH_TUPLE is present.
The presence of dist-newstyle directory created by unpacking Haskell
dependencies from GH_TUPLE makes `cabal` run `git pull` instead of `git clone`.
|
Thu, 28 Jul 2022
|
[ 19:52 Gleb Popov (arrowd) ] 166cea3 (Only the first 10 of 12 ports in this commit are shown above. )
Uses/cabal.mk: Introduce CABAL_WRAPPER_SCRIPTS variable.
Before this change every Haskell executable was wrapped into a shell script
which was installed into ${PREFIX}/bin while the actual executable was installed
into {PREFIX}/libexec/cabal. This was required to set env variables pointing the
Haskell program to its data files under ${PREFIX}/share. However, not every
Haskell program uses this feature.
Now the shell wrapping is off by default and CABAL_WRAPPER_SCRIPTS knob can be
used to enable it for a given port/executable.
Adjust all Haskell ports affected by this change.
|
[ 19:52 Gleb Popov (arrowd) ] 842a12d
Uses/cabal.mk: Document SKIP_CABAL_PLIST.
|
[ 19:52 Gleb Popov (arrowd) ] 74817eb
Uses/cabal.mk: Expand comment for cabal-extract target.
|
Wed, 27 Jul 2022
|
[ 14:55 Gleb Popov (arrowd) ] 839dbcc
Uses/cabal.mk: Various improvements.
- Rename CABAL_BOOTSTRAP to SKIP_CABAL_EXTRACT. This is a much more descriptive
name as to what this knob does.
- Improve cabal-extract target to not overwrite WRKDIR and to leave a cookie
file to let framework know if the user is updating the port.
|
[ 14:55 Gleb Popov (arrowd) ] 22d118e
Uses/cabal.mk: Simplify EXTRACT_ONLY setting.
Adapt ports that were using hacks to set EXTRACT_ONLY.
|
[ 14:55 Gleb Popov (arrowd) ] d5655de
Uses/cabal.mk: Do not include '.' package when CABAL_PROJECT=append
If we are appending to an exisiting project file all needed package directories
are already listed there.
|
[ 14:55 Gleb Popov (arrowd) ] 92e98a2
Uses/cabal.mk: Simplify USE_LOCALE handling.
|
[ 14:55 Gleb Popov (arrowd) ] 4ad8bbf
Uses/cabal.mk: Use cabal2tuple in the make-use-cabal target.
|
Mon, 11 Jul 2022
|
[ 13:05 Gleb Popov (arrowd) ] bbb24e0
Uses/cabal.mk: Mark all ports using basement-0.0.14 BROKEN on i386.
Reported by: pkg-fallout
|
Thu, 7 Jul 2022
|
[ 10:24 Gleb Popov (arrowd) ] 429fe39
Uses/cabal.mk: Add support for lang/ghcXXX ports:
- Do not add lang/ghc to BUILD_DEPENDS if another GHC is already there.
- Pass --with-compiler flag to cabal if we're using lang/ghcXXX port to build.
|
Thu, 30 Jun 2022
|
[ 19:13 Gleb Popov (arrowd) ] f500b9d
Uses/cabal.mk: Replace all occurencies of '-' instead of only one.
Executables named "foo-bar-baz" are now correctly handled.
|
Sun, 24 Apr 2022
|
[ 10:00 Tobias C. Berner (tcberner) ] aa25396 (Only the first 10 of 118 ports in this commit are shown above. )
framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.
These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible
Differential Revision: https://reviews.freebsd.org/D35024
Reviewed by: portmgr (rene, bapt)
|
Sat, 12 Jun 2021
|
[ 10:14 Gleb Popov (arrowd) ] 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) ] 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) ] 0da1ad3
Uses/cabal.mk: Make cabal-extract-deps target overridable.
|
Wed, 19 May 2021
|
[ 14:13 Gleb Popov (arrowd) ] 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) ] 8d6788c
Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps.
|
Thu, 29 Apr 2021
|
[ 05:39 Gleb Popov (arrowd) ] 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) ] 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) ] 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) ] 5d33e04 (Only the first 10 of 224 ports in this commit are shown above. )
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
|
Wed, 10 Mar 2021
|
[ 12:31 arrowd ]
devel/hs-cabal-install: Update to 3.4.0.0 and adjust Uses/cabal.mk to its
changes.
|
[ 08:00 arrowd ]
Uses/cabal.mk: Take into account MAKE_JOBS_NUMBERS.
|
Thu, 7 Jan 2021
|
[ 12:17 arrowd ]
Uses/cabal.mk: Add "nodefault" argument.
|
Mon, 4 Jan 2021
|
[ 11:31 arrowd ]
Uses/cabal.mk: More correct fix for EXTRACT_ONLY problem from r559679.
|
Wed, 30 Dec 2020
|
[ 18:57 arrowd ]
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 ] (Only the first 10 of 105 ports in this commit are shown above. )
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 ]
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 ] (Only the first 10 of 166 ports in this commit are shown above. )
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 ]
Mk/Uses/cabal.mk: Wrap *.cabal argument in ticks.
|
Sun, 23 Feb 2020
|
[ 07:30 tobik ]
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 ]
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 ]
devel/hs-git-annex: Fix git-annex-shell and git-remote-tor-annex executables.
PR: 239289
|
Mon, 29 Jul 2019
|
[ 07:53 arrowd ]
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 ]
Mk/Uses/cabal.mk: Check for invalid args.
Reported by: tobik
|
Fri, 26 Jul 2019
|
[ 16:52 arrowd ]
Add support for USES= cabal:hpack and document this option.
|
Sun, 21 Jul 2019
|
[ 18:37 arrowd ]
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 ]
Make `make-use-cabal` aux target output an item per line.
|
Thu, 4 Jul 2019
|
[ 18:44 arrowd ]
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 ] (Only the first 10 of 36 ports in this commit are shown above. )
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 ] (Only the first 10 of 50 ports in this commit are shown above. )
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 ]
Restore "hs-" package name prefix for Haskell packages.
Reported by: mat
Approved by: mat
|
[ 14:39 arrowd ] (Only the first 10 of 102 ports in this commit are shown above. )
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: 63 |