Commit graph

481 commits

Author SHA1 Message Date
Gleb Popov
12047f2917 lang/ghc: Switch to folly static pkg-plist and add aux Makefile target to poke
with OPTIONs variety.
2020-08-18 19:09:36 +00:00
Gleb Popov
98c623c61e lang/ghc: Switch to static pkg-plist for documentation files. 2020-08-17 12:26:10 +00:00
Gleb Popov
0048486f22 lang/ghc: Remove some now unused variables. 2020-08-16 20:00:25 +00:00
Gleb Popov
f1203fad42 lang/ghc: Remove support for building old versions by overriding GHC_VERSION variable.
It turned out that I never used this feature since it was added.
2020-08-16 16:26:24 +00:00
Gleb Popov
1f22b36313 lang/ghc: Add a workaround patch to fix build with LLD 10 (12-STABLE and 13-CURRENT)
Reported by:	David Wolfskill <david@catwhisker.org>
2020-08-16 14:22:04 +00:00
Gleb Popov
b299244952 lang/ghc: Update to 8.10.1.
As usual, along with the compiler, many Haskell packages are updated as well.
2020-08-16 07:56:18 +00:00
Gleb Popov
67da1af194 lang/ghc: Update to 8.8.4 2020-08-04 09:01:45 +00:00
Niclas Zeising
b48b7783c9 lang/ghc: Remove stale comment
Remove stale comment from lang/ghc about gcc shipping a libffi.so of its
own, this is no longer the case.  This should have been part of r541237 and
r541232.

PR:		247028 (for tracking)
Reported by:	arrowd, danfe
2020-07-05 08:42:38 +00:00
Niclas Zeising
35cbe487f8 lang/ghc: Don't hardcode libffi shlib version
Don't hardcode the libffi shared library version in lang/ghc makefile.
This fixes the build after devel/libffi was updated.
This was missed in r541232

PR:		247028 (for tracking)
2020-07-04 21:37:19 +00:00
Niclas Zeising
0e32330f15 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)
2020-07-04 18:11:42 +00:00
Gleb Popov
48e8d5ce03 lang/ghc: Depend on newer LLVM 7.0, for which upstream declares support.
PR:		246988
Submitted by:	mikael
2020-06-04 19:31:41 +00:00
Gleb Popov
289574e39b lang/ghc: Remove legacy mk files, there are no users left in the tree. 2020-05-28 13:04:59 +00:00
Gleb Popov
eeca407697 lang/ghc: Print a error message if BOOT option is enabled, but the user has no "ghc" in PATH.
PR:		246800
Submitted by:	software@bertram-scharpf.de
2020-05-28 12:58:56 +00:00
Gleb Popov
03d81dda1c lang/ghc: Add patch for timer machinery.
PR:		241849
Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
2020-05-26 20:18:41 +00:00
Gleb Popov
cf857adccf lang/ghc: Correct distinfo entry for ghc-8.6.5-boot-powerpc64-freebsd-elfv2.tar.xz file
PR:		246224
Submitted by:	pkubaj
2020-05-06 07:08:03 +00:00
Gleb Popov
19c26acbf0 Upgrade lang/ghc to 8.8.3 and many Haskell ports along the way.
PR:		244784
Submitted by:	Evilham <contact@evilham.com> (some ports)
2020-05-04 18:08:10 +00:00
Gleb Popov
a18110d6db lang/ghc: Use 8.6.3 as bootstrap on PowerPC elfv1.
Submitted by:	mikael
Reported by:	pkubaj
2020-03-27 18:57:28 +00:00
Gleb Popov
b12f70d5d6 lang/ghc: Don't use GCC on ARM arches. Cleanup Makefile.
PR:		245057
Submitted by:	mikael
2020-03-27 17:45:38 +00:00
Gleb Popov
be093f3be9 Update bootstraps for ARM architectures, get rid of GCC on powerpc64 elfv2/
PR:		245057
Submitted by:	pkubaj, mikael
2020-03-26 18:33:20 +00:00
Gleb Popov
ceef1b1ce6 lang/ghc: Unhreak on powerpc64 by using new bootstrap compiler.
PR:		244788
Submitted by:	pkubaj
2020-03-13 18:15:40 +00:00
Gleb Popov
f43bdb6115 Follow-follow-up for r528190.
PR:		244556
Submitted by:	Evilham <contact@evilham.com>
Differential Revision:	https://reviews.freebsd.org/D24023
2020-03-11 17:46:13 +00:00
Gleb Popov
deff720a47 lang/ghc: Follow-up fix for r528190.
PR:		244556
Reported by:	Evilham <contact@evilham.com>, pkubaj
2020-03-11 05:21:23 +00:00
Gleb Popov
29474796df lang/ghc: Fix build on CURRENT.
PR:		244556
Submitted by:	Evilham <contact@evilham.com>
Differential Revision:	https://reviews.freebsd.org/D24014
2020-03-10 18:45:38 +00:00
Gleb Popov
3aafe25999 lang/ghc: Install haddock even when WITH_DOCS=NO. Do this by actually building WITH_DOCS=YES and omitting docs during staging.
Also, don't pack documentation when creating bootstrap tarball.
2020-02-21 08:09:59 +00:00
Gleb Popov
824fb9995a lang/ghc: Now that we use different bootstraps, do not apply ino64 hack anymore.
Unbreaks build on 12.1+

PR:		244217
2020-02-19 18:30:06 +00:00
Gleb Popov
9f77bcc2e2 Fix FreeBSD-12 i386 bootstrap.
Reported by:	pkg-fallout
2020-02-18 16:49:16 +00:00
Gleb Popov
4f8e82f0c5 Reroll r526091:
Use FreeBSD-11 compiled bootstrap on FreeBSD-11 and 12-compiled one on FreeBSD-12.
2020-02-16 11:34:29 +00:00
Gleb Popov
9ff1b3d00d Revert r526091. I uploaded wrong bootstraps. 2020-02-14 15:30:32 +00:00
Gleb Popov
9936f1c258 Use FreeBSD-11 compiled bootstrap on FreeBSD-11 and 12-compiled one on FreeBSD-12.
Another prerequisite for GHC 8.8.2.
2020-02-14 06:40:42 +00:00
Gleb Popov
d17eedbd77 lang/ghc: Upgrade bootstrap compiler for x86 arch to 8.6.5. This is a prerequisite for updating GHC itself. 2020-02-03 19:51:03 +00:00
Gleb Popov
451c74c781 lang/ghc: Unbreak on powerpc64-elfv1.
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Reviewed by:	pkubaj
Differential Revision:	https://reviews.freebsd.org/D22633
2019-12-04 05:31:55 +00:00
Gleb Popov
75a64b54e2 Use HTTPS in pkg-descr's of Haskell ports. 2019-08-04 09:25:28 +00:00
Piotr Kubaj
2e2e331074 lang/ghc: fix build on powerpc64 elfv1
Dtrace doesn't seem to work on elfv1 powerpc64 (at least on 12.0-RELEASE).

Also properly detect when running on elfv1 and elfv2.

PR:		239193
Approved by:	arrowd (maintainer), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D20995
2019-08-01 18:58:14 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Gleb Popov
749dd5ec4a lang/ghc: Adjust OSVERSION checks for powerpc64.
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
2019-07-11 09:44:39 +00:00
Gleb Popov
0ef93fd866 lang/ghc: Add support for ELFv2 on powerpc64.
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D20872
2019-07-07 15:45:46 +00:00
Gleb Popov
e0165fa8da lang/ghc: Remove --enable-dtrace=0 for newer GHCs, seem to be working now.
PR:		228727
2019-07-07 11:39:18 +00:00
Gleb Popov
1f97c687a7 lang/ghc: Makefile cleanup for tier2 arches.
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D20860
2019-07-07 07:38:41 +00:00
Gleb Popov
642d12c396 lang/ghc: Upgrade to 8.6.5.
Approved by:	tcberner (mentor, implicit)
2019-06-03 13:46:44 +00:00
Gleb Popov
55deb88353 lang/ghc: Update to 8.6.4 and bump PORTREVISIONs for Haskell ports.
While there, fix build with DOCS=off.

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D20464
2019-06-02 09:02:21 +00:00
Gleb Popov
0402fd9082 Merge lang/ghcXXX ports into lang/ghc.
Remove OPTIONS support from library Haskell ports.
Do not install documentation by library Haskell ports.
Remove deprecation notice from library ports, that still needed.

PR:		224083
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D20247
2019-05-28 15:53:04 +00:00
Gleb Popov
6dc2e22e2d 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
2019-05-09 14:39:30 +00:00
Gleb Popov
19f0bd96ba Drop ARM support for GHC 8.4 and update bootstrap compilers to 8.6.3.
ARM support required LLVM 5, which is getting pushed out of ports.

Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19722
2019-03-29 04:53:53 +00:00
Koop Mast
a5b8ef24e5 Remove expired webkit-gtk2 and webkit-gtk3 ports.
Bump graphics/variety deprecation date, there is a patch for a update which
uses webkit2-gtk3 in ports/236180 but I had issues that I could't fix.
2019-03-24 18:43:27 +00:00
Gleb Popov
7797578a91 bsd.cabal.mk: Add USE_BINUTILS for powerpc64 arch and add support for FLAGS_DEFAULT_${ARCH} variables.
PR:		236346
Submitted by:	 Piotr Kubaj <pkubaj@anongoth.pl>
Reviewed by:	Mikael Urankar <mikael.urankar@gmail.com>
Approved by:	tcberner (mentor)
2019-03-21 17:38:10 +00:00
Gleb Popov
6d4d84530d bsd.cabal.mk: Sanitize arch string for powerpc64
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Approved by:	tcberner (mentor)
2019-03-15 05:31:48 +00:00
Gleb Popov
8750d1188f lang/ghc: Port to powerpc64 architecture.
Submitted by:	Mikael Urankar <mikael.urankar_gmail.com>
Reviewed by:	arrowd, tcberner, mat
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D18886
2019-03-04 07:57:32 +00:00
Gleb Popov
c1feac4c92 bsd.hackage.mk: Remove entries for ports that are already deleted.
Approved by:	tcberner (mentor)
2019-02-19 09:09:22 +00:00
Gleb Popov
7fa38c4c12 lang/ghc: Since we already depend on binutils on ARM, use their strip, because our strip is incredibly slow.
PR:		234949
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D18842
2019-01-16 08:04:03 +00:00
Gleb Popov
a7b1a5e261 lang/ghc: Fix create-stack-bindist target.
Approved by:	tcberner (mentor)
2019-01-14 17:57:44 +00:00