non port: lang/ocaml/files/patch-configure |
Number of commits found: 44 |
Wednesday, 10 Apr 2024
|
09:32 Piotr Kubaj (pkubaj)
lang/ocaml: fix build on powerpc*
60e407e |
Monday, 11 Mar 2024
|
21:50 Guido Falsi (madpilot) Author: Benjamin Jacobs
lang/ocaml: Update to 4.14.1
The 'force-safe-string; setting is NOT enabled, as opposed to the
new upstream default. OCaml users are encouraged to migrate to safe
strings as soon as possible.
- The X11 library isn't part of lang/ocaml anymore, users should
install x11-toolkits/ocaml-graphics.
- Add new 'ocaml' USES
- Bump PORTREVISION on dependent ports, due to ABI Change.
The update includes the following updates to existing ports (needed
to keep them working):
- devel/ocaml-camlp4: Updated to 4.14+1
- devel/ocaml-camlp5: Updated to 8.02.01, homepage updated
- devel/ocaml-dune: Patch to allow overriding the stublibs directory,
strip binary and shared libraries
- devel/ocaml-findlib: Improve port
- devel/ocaml-lwt: Fix build with OCaml 4.14
- deve/ocaml-re: Update to 1.11.0, use new dune USES
- devel/ocaml-sdl: Fix build with new ocaml
- games/freetennis: Fix build, tidy Makefile
- graphics/ocaml-images: Updated to 5.0.4, new homepage, use new
dune USES, undeprecate
- graphics/ocaml-lablgl: Moved into site-lib, dynamic objects
stripped, add missing GL dependencies
- math/coq: Updated to 8.19.0
- math/ocaml-zarith: strip shared libraries, fixed usage of
USE_OCAML_LDCONFIG, use new dune USES
- math/teyjus: Fix build
- net/unison240: Fix build with new compiler
- net/unison248: Fix build with new compiler, add MAKE_JOBS_UNSAFE
- net-p2p/mldonkey: Fix build with new compiler, fix build on i386
- sysutils/ledit: Updated to 2.06, install native binary, Use github,
fix man page installation
- www/geneweb: Build fix for OCaml and Camlp5 updates
- x11-toolkits/ocaml-lablgtk2: Fix build with new compiler
- x11-toolkits/ocaml-lablgtk3: Updated to 3.1.4, added ocaml-camlp-stream
dependency, build fix patch
- x11-toolkits/ocaml-labltk: Updated to 8.06.12, Improve Makefile
Added the following ports:
- devel/ocaml-astring
- devel/ocaml-base
- devel/ocaml-bos
- devel/ocaml-camlp-streams
- devel/ocaml-csexp
- devel/ocaml-fmt
- devel/ocaml-fpath
- devel/ocaml-logs
- devel/ocaml-mtime
- devel/ocaml-pcre2
- devel/ocaml-rresult
- devel/ocaml-seq
- devel/ocaml-stdio
- x11-toolkits/ocaml-graphics
PR: 250408 [1], 262781 [1], 262788 [3], 262789 [1],
262792 [1], 263006 [1], 263162 [3], 263206 [2],
276893 [1], 276945 [4], 276953 [1], 277026 [5],
277241 [1], 277242 [1], 277243 [1], 277244 [1],
277245 [1], 277246 [1], 277247 [1], 277248 [1],
277249 [1], 277250 [1], 277251 [1], 277252 [1],
277253 [1], 277254 [1], 277255 [1], 277256 [4],
277257 [1], 277258 [1]
Approved by: maintainer timeout [1],
yuri (maintainer) [2],
overcome by events, fixit [3],
madpilot (maintainer) [4]
Reviewed by: madpilot
Exp-run by: antoine [5]
Differential Revision: https://reviews.freebsd.org/D43861
8025aa1 |
Thursday, 29 Feb 2024
|
20:21 Tijl Coosemans (tijl)
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
572f236 |
Wednesday, 5 Jul 2023
|
09:55 Guido Falsi (madpilot)
lang/ocaml: Update to 4.08.1
This update allows (and for some requires) to also update dependencies
to newer versions. Where possible I updated to the latest version.
The ocaml port now is MAKE_JOBS safe.
Changes to dependent ports included in this commit:
- devel/ocaml-sexplib: Rename to devel/ocaml-sexplib0 adapting to
upstream. Update to 0.16.0
- devel/coccinelle: Update to 1.1.1, moved to github
- devel/ocaml-camlp4: Update to 4.08+1
- devel/ocaml-camomile: Use dune for build, adapt port
- devel/ocaml-cppo: Fix lib files installation [1]
- devel/ocaml-dune: Update to 3.7.1 [2]
- devel/ocaml-findlib: Update to 1.9.6 [3]
- devel/ocaml-ipaddr: Update to 3.1.0
- devel/ocaml-parmap: Update to 1.2.4, use dune for build [4]
- devel/ocaml-ppx-tools: Update to 6.6, use dune for build
- graphics/ocaml-cairo: Update to 0.6.4
- net-p2p/mldonkey: Update to 3.1.7-2 [2]
- net/unison: Remove ocaml 4.07 compatibility patches
- net/unison232: Mark broken, fails to build with newer ocaml [5]
- security/ocaml-ssl: Update to 0.5.13 [2]
- x11-toolkits/ocaml-labltk: Update to 8.06.7 [2]
Dune now requires full path as argument to --libdir, so various
ports have been patched accordingly.
Bumping PORTREVISION for all dependent ports that were not updated.
PR: 272067
Approved by: michipili@gmail.com (maintainer timeout),
eduardo (maintainer timeout) [1],
danfe [2],
hrs (maintainer timeout) [3],
dumbbell (maintainer timeout) [4],
mandree (implicit) [5]
Differential Revision: https://reviews.freebsd.org/D40599
2b40e46 |
Tuesday, 19 Apr 2022
|
08:58 Mikael Urankar (mikael)
lang/ocaml: Unbreak on aarch64
Enable profiling on aarch64
Approved by: portmgr (build fix blanket)
59a8bea |
Saturday, 16 Apr 2022
|
07:19 Alexey Dokuchaev (danfe)
OCaml: transient update of the stack to version 4.07.1
This is the first step in modernizing our OCaml ports infrastructure,
as we had accumulated substantial technical debt over the years when
many of its consumer ports had not received proper care and updates.
It is currently considered as the lowest supported version (baseline)
in majority of open-source OCaml projects, which would help to pull
up other ports, e.g. `devel/ocaml-dune' in smaller, manageable pieces.
For conservative hackers among us and for compatibility with RHEL 8
which is also on it, having 4.07 in the tree would allow users stick
to that package (pkg lock it) if needed.
PR: 250408, 262781
Exp-run by: antoine
317aa04 |
Sunday, 3 Jan 2021
|
14:34 pkubaj
lang/ocaml: fix build on powerpc64le
Use GCC, like on powerpc64 and add powerpc64le entry to configure script.
Approved by: tier 2 blanket
|
Thursday, 1 Aug 2019
|
19:30 pkubaj
lang/ocaml: fix build on armv7
armv7 requires -Wl,-znotext in LDFLAGS (same as i386), added definition for
triple target and include term.h in the test for tgetent.
PR: 239157
Approved by: michipili@gmail.com (maintainer timeout), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D21085
|
Friday, 12 Jul 2019
|
09:09 pkubaj
lang/ocaml: fix on powerpc64
powerpc64 needs to be put to configure script to be recognized.
PR: 238788
Approved by: michipili@gmail.com (maintainer timeout), tcberner (mat)
Differential Revision: https://reviews.freebsd.org/D20891
|
Thursday, 27 Jun 2019
|
13:11 danfe
Make sure that correct LDFLAGS are passed when linking shared libraries,
otherwise the build would fail on i386 with recent versions of FreeBSD.
PR: 218333
|
Monday, 24 Jun 2019
|
10:14 danfe
Update OCaml to version 4.05.0 (this is the last version where strings
are unsafe by default, which is the main motivation why it was picked,
but not the very latest one) and synchronize the rest of the stack and
dependent ports with it, particularly:
- Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak,
register build dependency on all ports that require it (should
be part of USE_OCAML, but we do not want to make any Mk-related
changes the for time being)
- Update `devel/ocaml-camlp4' to version 4.05+2
- Update `devel/ocaml-camlp5' to version 7.07 (the project had
moved to GitHub)
- Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is
very outdated and requires quite a lot of work
- Update `x11-toolkits/ocaml-labltk' to version 8.06.3
PR: 218333
Exp-run by: antoine
|
Monday, 18 Dec 2017
|
14:48 danfe
Further pre-update cleanups for `lang/ocaml':
- Do not suppress .bak-files when patching things with ``sed(1) -i'',
those can be useful for debugging and catching no-ops
- Drop `files/manfiles', it is no longer used (looks like a relic from
pre-staging times)
- Do not pass ``-as "${AS} ${ASFLAGS}"'' in the initial CONFIGURE_ARGS:
when ARM support was added in r361233, appropriate values are passed
conditionally (subject to ${ARCH}), see line 69
- Simplify handling of CFLAGS (obtained from RedHat package): rather
than passing them as part of the compiler and "fixing" one generated
Makefile in `post-configure', teach the configure script about them
|
06:55 danfe
In sight of long-overdue update of `lang/ocaml', start cleaning things up:
- Remove hunks from `patch-configure' that are irrelevant on *BSD
- Do not aggressively edit configure script in `post-patch', especially
when it is not required (e.g. no variables are expanded). This was
the reason for bogus changes committed in r403835 by wen@ and r403898
by marino@ (cf. "$bytecclinkopts $bytecclinkopts $bytecclinkopts");
now ``make makepatch'' command is idempotent again
- Do not needlessly pass STAGEDIR via MAKE_ENV: it is correctly passed
via MAKE_ARGS (as DESTDIR), and OCaml's build system is aware of it,
while nowhere referencing STAGEDIR variable
- Drop permission fix for ld.conf that was added in r169472 by itetcu@
11 years 4 months ago: it is no-op these days
Build logs remain identical (modulo the whitespace), regression tests pass.
|
Friday, 15 Dec 2017
|
15:31 danfe
First step to unbreak `lang/ocaml' on aarch64: teach configure script that
the architecture exists on FreeBSD. Unfortunately, this is not enough for
build to succeed, it now complains that as(1) is not found:
../boot/ocamlrun ../ocamlopt -strict-sequence -w +33..39 -g -warn-error A
-bin-annot -nostdlib -safe-string `./Compflags camlinternalFormatBasics.cmx`
-c camlinternalFormatBasics.ml
sh: as: not found
File "camlinternalFormatBasics.ml", line 1:
Error: Assembler error, input left in file /tmp/camlasm4329ae.s
gmake[7]: *** [Makefile.shared:84: camlinternalFormatBasics.cmx] Error 2
Developed on: ref11-aarch64.freebsd.org
|
15:15 danfe
Improve handling of the system architecture in `lang/ocaml'.
OCaml is using ARCH variable throughout its makefiles, which clashes with
our own variable of the same name. To workaround it, OCAML_ARCH variable
was introduced which is set based on ARCH, and makefiles later patched in
the `post-configure' target.
This approach does not scale well with porting OCaml to new architectures
as being fragile and sometimes making the build non-idempotent under some
circumstances.
Instead of "fixing" makefiles post-configure, rename ARCH to SYSTEM_ARCH:
this avoids the clash altogether and lets configure script to set correct
values for supported architectures in the first place with no adjustments
required afterwards.
Tested on: i386, amd64, powerpc
|
Thursday, 24 Mar 2016
|
20:55 madpilot
Fix packaging on armv6 by enabling profiling libraries.
PR: 206615
Submitted by: mikael.urankar at gmail.com
Approved by: michipili at gmail.com (maintainer)
|
Monday, 4 Jan 2016
|
04:27 danfe
As usual, routinely update to the next version in r403835 had removed support
for DragonFly (readded in r403898) and FreeBSD/powerpc. Put it back (again).
|
Thursday, 17 Dec 2015
|
10:00 marino
lang/ocaml: Unbreak DragonFly
The previous upgrade removed all the dragonfly patches. Bring those
back to restore the port on DragonFly.
PR: 203589
|
Wednesday, 16 Dec 2015
|
03:31 wen
- Update to 4.02.3
PR: 203589
Submitted by: michipili@gmail.com(maintainer)
|
Friday, 2 Oct 2015
|
06:40 antoine
Backout r398381, it fails to package
With hat: portmgr
MFH: 2015Q4
|
Thursday, 1 Oct 2015
|
19:24 mi
Upgrade from 4.02.1 to 4.02.3. Disable adding of explicit -O to compiler flags,
because that ends up lowering optimization for most people (from -O2).
Approved by: maintainer
(The upgrade is too minor to justify revision bumping of depending ports.)
|
Thursday, 30 Jul 2015
|
09:37 danfe
Fix the build on PowerPC (again) that was broken as of r385012.
|
Sunday, 3 May 2015
|
13:35 sunpoet
- Remove incomplete check for configure arguments to fix build when
CONFIGURE_ARGS contains =
PR: 199884
Submitted by: sunpoet (myself)
Approved by: Michael Grunewald <michipili@gmail.com> (maintainer)
|
Wednesday, 29 Apr 2015
|
20:45 marino
lang/ocaml: Upgrade version 4.01 => 4.02
PR: 195736
Submitted by: Michael Gruenewald (maintainer)
Add'l fixes: marino
Besides typical port cleanup, the dragonfly patches which had been
removed for the update were added back to the configure patch.
|
Saturday, 2 Aug 2014
|
11:57 danfe
Unbreak the build and packaging on PowerPC.
|
Tuesday, 8 Jul 2014
|
13:11 marino
lang/ocaml: Add ARMv6 support
Redports confirms that changes do not break i386 and amd64 builds (8x).
PR: 189063
Submitted by: maintainer (Michael Gruenewald)
Patch by: Andy Ray
|
Wednesday, 7 May 2014
|
08:27 marino
lang/ocaml: Fix NO_PROFILE setting and native compiler for DragonFly
The ocaml port was not respecting a NO_PROFILE definition in make.conf,
which causes a stage check failure (missing files) if it is set. Improve
that logic and patch the configure script in numerous places to support
building the native code compiler on DragonFly. This is one of those
famous ports that think all BSDs have the pattern "bsd" in their target
triplet.
Continued under PR: ports/188158
|
Saturday, 26 Apr 2014
|
17:20 marino
lang/ocaml: Upgrade version 4.00.1 to 4.01.0 and stage
This is a significant update from the maintainer. Not only has stage
support been added (and verified with an 8x pass on RedPorts), but
installed binaries are no longer stripped which was the cause of the
coccinelle malfunction seen on DragonFly.
Licensing was also defined, and the X11 build failure caused by the
use of the -R linker flag without the -Wl prefix has also been
rectified. [2]
PR: ports/188158 [1]
Submitted by: maintainer (Michael Gruenewald)
PR: ports/188330 [2]
Submitted by: madpilot
Approved by: maintainer
|
Wednesday, 26 Mar 2014
|
17:50 marino
ocaml update 1/4: lang/ocaml upgrade from 3.12 to 4.00
There have been manual outstanding PRs on OCAML that have dragged on
for well more than a year. In the meantime, FreeBSD has been painfully
stucking on version 3.12 of Ocaml. Meanwhile, DragonFly's dports have
been maintaining version 4.00.
With a "Just do it" attitude, the dports version of Ocaml has been brought
in. This doesn't have stage support, nor is the the latest version
available. The idea is just get a working base Ocaml 4.00 in ports and
then have the maintainer update the appropriate PRs.
As a consequence, updates to omake, ocaml-findlib, and ocaml-images is
also required and upcoming.
Urged by: portmgr (bapt)
Related PR: ports/173364
Related PR: ports/173453
|
Sunday, 15 Jan 2012
|
20:32 crees
Fix build on FreeBSD 10
Submitted by: avg
Approved by: maintainer timeout (>8 weeks)
|
Monday, 4 Apr 2011
|
02:29 stas
- Re-enable native dynamic linking on FreeBSD.
- Bump port revision.
PR: ports/156159
Submitted by: Johan van Selst <johans@stack.nl>
Pointy hat to: me
|
Monday, 22 Mar 2010
|
09:37 stas
- Fix build on powerpc.
|
Monday, 29 Jun 2009
|
10:46 stas
- Update to 3.11.1.
|
Saturday, 11 Apr 2009
|
13:23 stas
- Update lang/ocaml to 3.11.0. [1]
- Fix devel/cil build with 3.11.0 by using proper object file name
- Fix devel/deputy build with 3.11.0 by using proper object file name
- Fix lang/mtasc. Ocamlp4 syntax has changed and usage of ';' as delimiters
is not allowed now.
- Fix usage message in lang/mtasc.
- Implement a FreeBSD specific code for retriving the executable path in
lang/mtasc.
- Update devel/omake to 0.9.8.5.
- Fix devel/omake compilation with 3.11 by dropping an unused reference from the
code.
- Fix www/geneweb build with 3.11 by not emitting errors for warnings.
- Fix print/advi build. [2]
- Update lang/cduce to 0.5.3 (this fixes build with ocaml 3.11.0).
PR: ports/130845 [1] [2] (based on)
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> [1],
Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> [2]
|
Monday, 6 Apr 2009
|
19:40 stas
- Make ocaml to find tk again.
|
Sunday, 6 Apr 2008
|
19:44 stas
- Update to 3.10.2.
Thanks to: Thomas Crimi <tcrimi@procida.us>
|
Saturday, 19 Aug 2006
|
09:38 itetcu
Don't depend on X11 when WITHOUT_X11 was defined, even if X11 exists on
target machine.
PR: ports/102261
Submitted by: Stanislav Sedov (maintainer)
Requested by: John E Hein <jhein@timing.com>
|
Wednesday, 14 Jun 2006
|
21:46 sat
- Update to 3.09.2
- Add MASTER_SITE_GENTOO
- Unqoute a BROKEN
PR: ports/97555
Submitted by: sat
Tested by: Joseph Koshy <jkoshy@freebsd.org>, Denis Shaposhnikov
<dsh@vlink.ru>,
Holger Lamm <holger@e-gitt.net>, Hubert Tournier
<hubert.tournier@online.fr>,
Dan Pelleg <daniel+unison@pelleg.org> (many thanks are due)
|
Thursday, 1 Dec 2005
|
15:46 garga
- Update to 3.09.0
PR: ports/89780
Submitted by: maintainer
|
Sunday, 3 Jul 2005
|
06:02 mi
OCaml folks use $(ARCH) in Makefiles to mean, what configure identified
as the architecture (and wrote out ${WRKSRC}/config/Makefile).
Our make, however, ignores assigments to this variable. Fortunately for
most concerned, make's ARCH is the same as configure's. Except on
sparc64.
This update fixes this problem as well as
. adds a hunk to patch-configure to enable profiling on all
platforms;
. modifies REPLINPLACE_ARGS to not even create .bak files instead
of removing them later.
at the moment, the build still dies on Panther due to a segfault in the
freshly built ocamlc.opt. It may be due to Panther's running 6-current,
however and there is no other sparc64 to check...
Notified by: kris (the sparc vs. sparc64 issue)
|
Monday, 19 Jul 2004
|
21:13 vs
Update to 3.08.0
PR: ports/69254
Submitted by: Eugene Ossintsev (maintainer)
|
Monday, 2 Feb 2004
|
12:53 arved
Fix build on IA64, while I am here.
|
12:02 arved
Fix build on AMD64
Submitted by: stephane via maintainer
|
Sunday, 14 Dec 2003
|
15:53 sergei
- Added a patch to the original OCaml's configure script
to fix building the port when using WITHOUT_X11 knob.
- Fixed Makefiles to avoid gmake-isms.
- Fix pkg-plist
PR: 60219
Submitted by: maintainer
Noticed by: Dmitry Morozovsky <marck@rinet.ru>,
Marwan Burelle <Marwan.Burelle@ens.fr>
| Number of commits found: 44 |
|