notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
non port: Mk/Uses/cabal.mk

Number of commits found: 68

Monday, 8 Jul 2024
12:37 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Remove the --offline flag from the do-build command

It is a fatal error now if Cabal is passed --offline and there are VCS
dependencies in the cabal.project
This change is no-op for Poudriere builds since it shuts down networking for
the build stage by default.
commit hash: fe95e6b94dc2ce4908578fbe4d697245c750a263 commit hash: fe95e6b94dc2ce4908578fbe4d697245c750a263 commit hash: fe95e6b94dc2ce4908578fbe4d697245c750a263 commit hash: fe95e6b94dc2ce4908578fbe4d697245c750a263 fe95e6b
Thursday, 29 Feb 2024
20:21 Tijl Coosemans (tijl) search for other commits by this committer
Mk/*: Build with a clean environment

Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that.  To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.

Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands.  Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:

HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.

This commit deals with everything under Mk/.  Ports that have their own
targets running upstream build commands can switch to SETENVI later.

The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden.  The following ports required fixes now that this is no
longer the case.

games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code.  Fix use of ARCH.  Reduce diff between
FreeBSD code and Linux code.

games/legesmotus:
Remove ARCH related patches.

lang/ocaml:
Patch configure script so it detects amd64 correctly.  Also make the
powerpc case consistent with the other architectures.  This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml.  While here, use
SETENVI in check-test target.

net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64.  Disable this.

PR:		276478
Approved by:	portmgr (antoine)
Exp-run by:	antoine
commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 572f236
Sunday, 31 Dec 2023
00:37 Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
commit hash: bbab7f59e9630416397189df70ec133bdd690e38 commit hash: bbab7f59e9630416397189df70ec133bdd690e38 commit hash: bbab7f59e9630416397189df70ec133bdd690e38 commit hash: bbab7f59e9630416397189df70ec133bdd690e38 bbab7f5
Friday, 1 Sep 2023
13:42 Baptiste Daroussin (bapt) search for other commits by this committer
Uses/cabal: revert change introduced by mistake
commit hash: 80cc5344f2a7db20a5818ac750b3af446d5ed404 commit hash: 80cc5344f2a7db20a5818ac750b3af446d5ed404 commit hash: 80cc5344f2a7db20a5818ac750b3af446d5ed404 commit hash: 80cc5344f2a7db20a5818ac750b3af446d5ed404 80cc534
13:38 Baptiste Daroussin (bapt) search for other commits by this committer
devel/pkgconf: update to 2.0.2

PR:		272934
exp-run:	antoine
commit hash: 8e3a5d951eb8fb9d9ba3759507cebadcaea8d892 commit hash: 8e3a5d951eb8fb9d9ba3759507cebadcaea8d892 commit hash: 8e3a5d951eb8fb9d9ba3759507cebadcaea8d892 commit hash: 8e3a5d951eb8fb9d9ba3759507cebadcaea8d892 8e3a5d9
Tuesday, 25 Apr 2023
17:25 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Extend Clang workaround to FreeBSD 12.4

Reported by:	pkg-fallout
commit hash: f9a1f46c48e1f50246e63be780bfd0b65d9800d7 commit hash: f9a1f46c48e1f50246e63be780bfd0b65d9800d7 commit hash: f9a1f46c48e1f50246e63be780bfd0b65d9800d7 commit hash: f9a1f46c48e1f50246e63be780bfd0b65d9800d7 f9a1f46
Thursday, 30 Mar 2023
23:59 Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: 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
- games/aquaria: remove support for EOL FreeBSD 12.3
- games/punchy: remove workaround for EOL FreeBSD 12.3
- graphics/cxxplot: remove support for EOL FreeBSD 12.3
- lang/gcc11*: bump a __FreeBSD_version in libphobos to 1204000
- lang/rust: untangle OSVERSION logic a bit
- misc/mbuffer: remove workaround for EOL FreeBSD 12.3 for aarch64
- sysutils/libdisplay-info: remove workaround for EOL FreeBSD 12.3
- www/*chromium: remove IGNORE for EOL FreeBSD 12.3
- x11/hyprpaper: remove workaround for expired FreeBSD 12.3
- x11-wm/labwc: remove workaround for EOL FreeBSD 12.3
- x11-wm/kwinft: remove workaround for EOL FreeBSD 12.3
- www/iridium: remove IGNORE for EOL FreeBSD 12.3

Differential Revision: https://reviews.freebsd.org/D38664
commit hash: 56932296b7bc5c29380a4c433c5a9250fb6b4fb5 commit hash: 56932296b7bc5c29380a4c433c5a9250fb6b4fb5 commit hash: 56932296b7bc5c29380a4c433c5a9250fb6b4fb5 commit hash: 56932296b7bc5c29380a4c433c5a9250fb6b4fb5 5693229
Friday, 24 Mar 2023
17:38 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Extend the text-2 workaround to 12.3-RELEASE.
commit hash: 565a7ea09bdb7188c672044fe5bd05f9b48dffba commit hash: 565a7ea09bdb7188c672044fe5bd05f9b48dffba commit hash: 565a7ea09bdb7188c672044fe5bd05f9b48dffba commit hash: 565a7ea09bdb7188c672044fe5bd05f9b48dffba 565a7ea
Monday, 20 Mar 2023
07:31 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Fix indentation.

Reported by:	fluffy
commit hash: 0d5416563774626927d9ea341c0432a1119c98cf commit hash: 0d5416563774626927d9ea341c0432a1119c98cf commit hash: 0d5416563774626927d9ea341c0432a1119c98cf commit hash: 0d5416563774626927d9ea341c0432a1119c98cf 0d54165
Sunday, 19 Mar 2023
19:47 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Add a workaround to fix compilation of text-2 on FreeBSD 13.1
commit hash: 1d1c5c66f18aee3b56ea8f7b26632c7fdaeddbc3 commit hash: 1d1c5c66f18aee3b56ea8f7b26632c7fdaeddbc3 commit hash: 1d1c5c66f18aee3b56ea8f7b26632c7fdaeddbc3 commit hash: 1d1c5c66f18aee3b56ea8f7b26632c7fdaeddbc3 1d1c5c6
Sunday, 12 Mar 2023
16:10 Gleb Popov (arrowd) search for other commits by this committer
Mk/Uses: Introduce HACKAGE_DISTNAME knob.
commit hash: c622cccddb5324ace97f4342e1e907ff8f66f9ad commit hash: c622cccddb5324ace97f4342e1e907ff8f66f9ad commit hash: c622cccddb5324ace97f4342e1e907ff8f66f9ad commit hash: c622cccddb5324ace97f4342e1e907ff8f66f9ad c622ccc
07:15 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Do not hide commands being run.
commit hash: 4aa96fa6a749208bb45edbfdba86cbd373b7f6ec commit hash: 4aa96fa6a749208bb45edbfdba86cbd373b7f6ec commit hash: 4aa96fa6a749208bb45edbfdba86cbd373b7f6ec commit hash: 4aa96fa6a749208bb45edbfdba86cbd373b7f6ec 4aa96fa
07:15 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Pass correct XDG_* environment in cabal invocations.
commit hash: 3eb1fbc04130a5de07a27a7fe63faa1af5bdad00 commit hash: 3eb1fbc04130a5de07a27a7fe63faa1af5bdad00 commit hash: 3eb1fbc04130a5de07a27a7fe63faa1af5bdad00 commit hash: 3eb1fbc04130a5de07a27a7fe63faa1af5bdad00 3eb1fbc
Thursday, 9 Mar 2023
19:38 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 4caa2e2b27f1f5728591ccd9bba370791b7c8f28 commit hash: 4caa2e2b27f1f5728591ccd9bba370791b7c8f28 commit hash: 4caa2e2b27f1f5728591ccd9bba370791b7c8f28 commit hash: 4caa2e2b27f1f5728591ccd9bba370791b7c8f28 4caa2e2
Monday, 27 Feb 2023
18:11 Gleb Popov (arrowd) search for other commits by this committer
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>
commit hash: 37b66193453c2ed2c103385aebf7e9f034a58ac1 commit hash: 37b66193453c2ed2c103385aebf7e9f034a58ac1 commit hash: 37b66193453c2ed2c103385aebf7e9f034a58ac1 commit hash: 37b66193453c2ed2c103385aebf7e9f034a58ac1 37b6619
Sunday, 20 Nov 2022
17:39 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 934c0a2d759fe09a92739e4ed84e154b6d8e1970 commit hash: 934c0a2d759fe09a92739e4ed84e154b6d8e1970 commit hash: 934c0a2d759fe09a92739e4ed84e154b6d8e1970 commit hash: 934c0a2d759fe09a92739e4ed84e154b6d8e1970 934c0a2
17:39 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 2fca7097b9f29351f1969eca7d1837ab99782f2e commit hash: 2fca7097b9f29351f1969eca7d1837ab99782f2e commit hash: 2fca7097b9f29351f1969eca7d1837ab99782f2e commit hash: 2fca7097b9f29351f1969eca7d1837ab99782f2e 2fca709
17:39 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 9e425fc8821515b2456a20b11bfe75a492d60b5a commit hash: 9e425fc8821515b2456a20b11bfe75a492d60b5a commit hash: 9e425fc8821515b2456a20b11bfe75a492d60b5a commit hash: 9e425fc8821515b2456a20b11bfe75a492d60b5a 9e425fc
17:39 Gleb Popov (arrowd) search for other commits by this committer
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".
commit hash: 56e3d8878497d9764bc9b69a90b7990dd309ec71 commit hash: 56e3d8878497d9764bc9b69a90b7990dd309ec71 commit hash: 56e3d8878497d9764bc9b69a90b7990dd309ec71 commit hash: 56e3d8878497d9764bc9b69a90b7990dd309ec71 56e3d88
17:39 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: e254bdde429a3d700beb9d421dc35f1da0b2077a commit hash: e254bdde429a3d700beb9d421dc35f1da0b2077a commit hash: e254bdde429a3d700beb9d421dc35f1da0b2077a commit hash: e254bdde429a3d700beb9d421dc35f1da0b2077a e254bdd
17:39 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Do not extract any USE_CABAL distfiles in cabal-extract.
commit hash: b55505da219d4fe5ded356cfa94486cd4a6d1b80 commit hash: b55505da219d4fe5ded356cfa94486cd4a6d1b80 commit hash: b55505da219d4fe5ded356cfa94486cd4a6d1b80 commit hash: b55505da219d4fe5ded356cfa94486cd4a6d1b80 b55505d
17:39 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Use .for directive to introduce temporary variables inside loops.

Suggested by:	tijl
commit hash: d72b566da395ab655a5083e1240066304c6875fd commit hash: d72b566da395ab655a5083e1240066304c6875fd commit hash: d72b566da395ab655a5083e1240066304c6875fd commit hash: d72b566da395ab655a5083e1240066304c6875fd d72b566
Tuesday, 20 Sep 2022
13:11 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Extend i386 brokeness to basement-0.0.15
commit hash: eaf7a4ee5399b0cac5f21bdf0cec3b7c53c0ae86 commit hash: eaf7a4ee5399b0cac5f21bdf0cec3b7c53c0ae86 commit hash: eaf7a4ee5399b0cac5f21bdf0cec3b7c53c0ae86 commit hash: eaf7a4ee5399b0cac5f21bdf0cec3b7c53c0ae86 eaf7a4e
Tuesday, 9 Aug 2022
09:16 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Rename `EXECUTABLES` to `CABAL_EXECUTABLES`.

Approved by: tcberner

Differential Revision: https://reviews.freebsd.org/D36079
commit hash: 505ecf2230c9e73f5d231b855b2a88c41dfc3d26 commit hash: 505ecf2230c9e73f5d231b855b2a88c41dfc3d26 commit hash: 505ecf2230c9e73f5d231b855b2a88c41dfc3d26 commit hash: 505ecf2230c9e73f5d231b855b2a88c41dfc3d26 505ecf2
Sunday, 31 Jul 2022
15:58 Gleb Popov (arrowd) search for other commits by this committer
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`.
commit hash: 949672a6bef2134dfe3f2518400b58999d69ac10 commit hash: 949672a6bef2134dfe3f2518400b58999d69ac10 commit hash: 949672a6bef2134dfe3f2518400b58999d69ac10 commit hash: 949672a6bef2134dfe3f2518400b58999d69ac10 949672a
Thursday, 28 Jul 2022
19:52 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 166cea3628c726601ebfd9a5497a4808015eebd3 commit hash: 166cea3628c726601ebfd9a5497a4808015eebd3 commit hash: 166cea3628c726601ebfd9a5497a4808015eebd3 commit hash: 166cea3628c726601ebfd9a5497a4808015eebd3 166cea3
19:52 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Document SKIP_CABAL_PLIST.
commit hash: 842a12d0f9e4b2321b2d0fb6cda37d6906533ab9 commit hash: 842a12d0f9e4b2321b2d0fb6cda37d6906533ab9 commit hash: 842a12d0f9e4b2321b2d0fb6cda37d6906533ab9 commit hash: 842a12d0f9e4b2321b2d0fb6cda37d6906533ab9 842a12d
19:52 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Expand comment for cabal-extract target.
commit hash: 74817ebe9b7d52c4071372491cda1aad5b59afe9 commit hash: 74817ebe9b7d52c4071372491cda1aad5b59afe9 commit hash: 74817ebe9b7d52c4071372491cda1aad5b59afe9 commit hash: 74817ebe9b7d52c4071372491cda1aad5b59afe9 74817eb
Wednesday, 27 Jul 2022
14:55 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 839dbcc4328b5cf011f89f8d2355ff8767336c1b commit hash: 839dbcc4328b5cf011f89f8d2355ff8767336c1b commit hash: 839dbcc4328b5cf011f89f8d2355ff8767336c1b commit hash: 839dbcc4328b5cf011f89f8d2355ff8767336c1b 839dbcc
14:55 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Simplify EXTRACT_ONLY setting.

Adapt ports that were using hacks to set EXTRACT_ONLY.
commit hash: 22d118e2620c44b6273ea00be51a5fcdfcf1c604 commit hash: 22d118e2620c44b6273ea00be51a5fcdfcf1c604 commit hash: 22d118e2620c44b6273ea00be51a5fcdfcf1c604 commit hash: 22d118e2620c44b6273ea00be51a5fcdfcf1c604 22d118e
14:55 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: d5655de18216ed5bfe20522e3285574eb720f3e5 commit hash: d5655de18216ed5bfe20522e3285574eb720f3e5 commit hash: d5655de18216ed5bfe20522e3285574eb720f3e5 commit hash: d5655de18216ed5bfe20522e3285574eb720f3e5 d5655de
14:55 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Simplify USE_LOCALE handling.
commit hash: 92e98a2584dd2df4fb449c376e3f00efc6388246 commit hash: 92e98a2584dd2df4fb449c376e3f00efc6388246 commit hash: 92e98a2584dd2df4fb449c376e3f00efc6388246 commit hash: 92e98a2584dd2df4fb449c376e3f00efc6388246 92e98a2
14:55 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Use cabal2tuple in the make-use-cabal target.
commit hash: 4ad8bbf22f2b9aaa79caccba7559b058245e12a7 commit hash: 4ad8bbf22f2b9aaa79caccba7559b058245e12a7 commit hash: 4ad8bbf22f2b9aaa79caccba7559b058245e12a7 commit hash: 4ad8bbf22f2b9aaa79caccba7559b058245e12a7 4ad8bbf
Monday, 11 Jul 2022
13:05 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Mark all ports using basement-0.0.14 BROKEN on i386.

Reported by:	pkg-fallout
commit hash: bbb24e0c2e64dc18821c69bc3fd000333875f853 commit hash: bbb24e0c2e64dc18821c69bc3fd000333875f853 commit hash: bbb24e0c2e64dc18821c69bc3fd000333875f853 commit hash: bbb24e0c2e64dc18821c69bc3fd000333875f853 bbb24e0
Thursday, 7 Jul 2022
10:24 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 429fe395d1b869f52a3ab7d89ce1a91c624991fa commit hash: 429fe395d1b869f52a3ab7d89ce1a91c624991fa commit hash: 429fe395d1b869f52a3ab7d89ce1a91c624991fa commit hash: 429fe395d1b869f52a3ab7d89ce1a91c624991fa 429fe39
Thursday, 30 Jun 2022
19:13 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Replace all occurencies of '-' instead of only one.

Executables named "foo-bar-baz" are now correctly handled.
commit hash: f500b9d07c812cef4a2e84a9f3ee9ed26806bfe8 commit hash: f500b9d07c812cef4a2e84a9f3ee9ed26806bfe8 commit hash: f500b9d07c812cef4a2e84a9f3ee9ed26806bfe8 commit hash: f500b9d07c812cef4a2e84a9f3ee9ed26806bfe8 f500b9d
Sunday, 24 Apr 2022
10:00 Tobias C. Berner (tcberner) search for other commits by this committer
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)
commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 aa25396
Saturday, 12 Jun 2021
10:14 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Omit "_0" part of the package version in make-use-cabal-revs
commit hash: 1d2372ec7f975ad32da34c3bd4031046741ee32c commit hash: 1d2372ec7f975ad32da34c3bd4031046741ee32c commit hash: 1d2372ec7f975ad32da34c3bd4031046741ee32c commit hash: 1d2372ec7f975ad32da34c3bd4031046741ee32c 1d2372e
Friday, 4 Jun 2021
16:43 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 8c54911133d9418d2d4a1d006965a223f72ab98e commit hash: 8c54911133d9418d2d4a1d006965a223f72ab98e commit hash: 8c54911133d9418d2d4a1d006965a223f72ab98e commit hash: 8c54911133d9418d2d4a1d006965a223f72ab98e 8c54911
Monday, 24 May 2021
06:32 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Make cabal-extract-deps target overridable.
commit hash: 0da1ad3eb5beb90ab1b86ff0e478a9ab0f08baca commit hash: 0da1ad3eb5beb90ab1b86ff0e478a9ab0f08baca commit hash: 0da1ad3eb5beb90ab1b86ff0e478a9ab0f08baca commit hash: 0da1ad3eb5beb90ab1b86ff0e478a9ab0f08baca 0da1ad3
Wednesday, 19 May 2021
14:13 Gleb Popov (arrowd) search for other commits by this committer
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.
commit hash: 1db88699b09ff53bf0029cb8a01dad1e7f646a4c commit hash: 1db88699b09ff53bf0029cb8a01dad1e7f646a4c commit hash: 1db88699b09ff53bf0029cb8a01dad1e7f646a4c commit hash: 1db88699b09ff53bf0029cb8a01dad1e7f646a4c 1db8869
Friday, 14 May 2021
19:11 Gleb Popov (arrowd) search for other commits by this committer
Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps.
commit hash: 8d6788c0871e0f0ee69678265c5f4707d28484fb commit hash: 8d6788c0871e0f0ee69678265c5f4707d28484fb commit hash: 8d6788c0871e0f0ee69678265c5f4707d28484fb commit hash: 8d6788c0871e0f0ee69678265c5f4707d28484fb 8d6788c
Thursday, 29 Apr 2021
05:39 Gleb Popov (arrowd) search for other commits by this committer
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
commit hash: f4397f5de0408abed022dca95ac78ba27686a205 commit hash: f4397f5de0408abed022dca95ac78ba27686a205 commit hash: f4397f5de0408abed022dca95ac78ba27686a205 commit hash: f4397f5de0408abed022dca95ac78ba27686a205 f4397f5
Wednesday, 21 Apr 2021
04:46 Tobias Kortkamp (tobik) search for other commits by this committer
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
commit hash: 12837690ed0c7785f94e8793ddc13a57477ef319 commit hash: 12837690ed0c7785f94e8793ddc13a57477ef319 commit hash: 12837690ed0c7785f94e8793ddc13a57477ef319 commit hash: 12837690ed0c7785f94e8793ddc13a57477ef319 1283769
04:33 Tobias Kortkamp (tobik) search for other commits by this committer
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
commit hash: a0109ed75443d8b475f04f1844c6dbcab84d6702 commit hash: a0109ed75443d8b475f04f1844c6dbcab84d6702 commit hash: a0109ed75443d8b475f04f1844c6dbcab84d6702 commit hash: a0109ed75443d8b475f04f1844c6dbcab84d6702 a0109ed
Tuesday, 6 Apr 2021
14:27 Mathieu Arnold (mat) search for other commits by this committer
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 5d33e04
Wednesday, 10 Mar 2021
12:31 arrowd search for other commits by this committer
devel/hs-cabal-install: Update to 3.4.0.0 and adjust Uses/cabal.mk to its
changes.
Original commitRevision:567995 
08:00 arrowd search for other commits by this committer
Uses/cabal.mk: Take into account MAKE_JOBS_NUMBERS.
Original commitRevision:567989 
Thursday, 7 Jan 2021
12:17 arrowd search for other commits by this committer
Uses/cabal.mk: Add "nodefault" argument.
Original commitRevision:560704 
Monday, 4 Jan 2021
11:31 arrowd search for other commits by this committer
Uses/cabal.mk: More correct fix for EXTRACT_ONLY problem from r559679.
Original commitRevision:560282 
Wednesday, 30 Dec 2020
18:57 arrowd search for other commits by this committer
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
Original commitRevision:559679 
Saturday, 4 Jul 2020
18:11 zeising search for other commits by this committer
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)
Original commitRevision:541232 
Thursday, 28 May 2020
14:29 arrowd search for other commits by this committer
Mk/Uses/cabal.mk: Modify make-use-cabal target to also show some build tools in
its output.
Original commitRevision:536771 
Monday, 4 May 2020
18:08 arrowd search for other commits by this committer
Upgrade lang/ghc to 8.8.3 and many Haskell ports along the way.

PR:		244784
Submitted by:	Evilham <contact@evilham.com> (some ports)
Original commitRevision:533933 
Monday, 16 Mar 2020
19:59 arrowd search for other commits by this committer
Mk/Uses/cabal.mk: Wrap *.cabal argument in ticks.
Original commitRevision:528542 
Sunday, 23 Feb 2020
07:30 tobik search for other commits by this committer
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.
Original commitRevision:526884 
Wednesday, 25 Sep 2019
16:57 arrowd search for other commits by this committer
cabal.mk: Move hpack invocation to post-patch stage, as sometimes we need to
patch package.yaml before feeding it to hpack.
Original commitRevision:512795 
Wednesday, 31 Jul 2019
18:18 arrowd search for other commits by this committer
devel/hs-git-annex: Fix git-annex-shell and git-remote-tor-annex executables.

PR:		239289
Original commitRevision:507727 
Monday, 29 Jul 2019
07:53 arrowd search for other commits by this committer
Uses/cabal.mk: In case of wrong arguments, print the wrong one, not all of them.

Reported by:	tobik
Original commitRevision:507562 
Sunday, 28 Jul 2019
10:16 arrowd search for other commits by this committer
Mk/Uses/cabal.mk: Check for invalid args.

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

Submitted by:	Evilham <contact@evilham.com>
Original commitRevision:507062 
14:59 arrowd search for other commits by this committer
Make `make-use-cabal` aux target output an item per line.
Original commitRevision:507054 
Thursday, 4 Jul 2019
18:44 arrowd search for other commits by this committer
cabal.mk: Pass `--disable-benchmarks --disable-tests` in do-build rule.
This cuts down amount of required dependencies and decreases build time.
Original commitRevision:505861 
Thursday, 20 Jun 2019
16:03 arrowd search for other commits by this committer
In wrapper scripts, use $@ instead of $* to correctly pass arguments to the real
program

PR:		238719
Approved by:	tcberner (mentor, implicit)
Original commitRevision:504637 
Thursday, 13 Jun 2019
13:57 arrowd search for other commits by this committer
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
Original commitRevision:504093 
Thursday, 9 May 2019
15:02 arrowd search for other commits by this committer
Restore "hs-" package name prefix for Haskell packages.

Reported by:	mat
Approved by:	mat
Original commitRevision:501105 
14:39 arrowd search for other commits by this committer
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
Original commitRevision:501101 

Number of commits found: 68