Commit Graph

128 Commits

Author SHA1 Message Date
chrisz
2dd0fda6b6 Update OCaml to 4.09
reviewed ports wise and help with @pkgpath, ok by sthen@
reviewed and help with bytecode-only plists, minor nits and ok by jca@
tested on sparc 64 by @jca
tested on aarch64 by Kurt Miller
tested on amd64 by me

Thanks for reviews and testing!
2019-09-26 09:46:09 +00:00
chrisz
225ce4224b Upgrade lang/ocaml to 4.08.1
* net unison needed some patchign to avoid deprecated library functions.
* all ports depending on the exact version of OCaml need revision bumps.
* net/unison needed some help to avoid deprecated library functions.

ok krw@, testing on i386 and ok daniel@
2019-09-18 17:49:35 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
chrisz
b423ca79c0 Pass use LDFLAGS when linking shared library.
ok sthen@
2019-03-09 12:29:56 +00:00
chrisz
b438efbd00 Upgrade OCaml and dependent ports
testing and OKs by avsm@, jca@, krw@ Thanks a lot !
2019-03-04 12:51:12 +00:00
naddy
e409c07e98 Wedge -znotext into all the necessary places to allow text relocations
that are caused at least by non-PIC assembly in the i386 runtime stub.
While here, also honor CFLAGS better.
ok jca@ krw@ avsm@
2018-11-28 18:23:08 +00:00
jca
c04dd410e7 arm64 has devel/gdb now, remove workaround and register bdep/WANTLIB
gdb is picked up because it brings libbfd, which can be used by
ocamlobjinfo to analyze (at least) .cmxs files.  Not very useful on
arm64 since native code support isn't enabled, but this is consistent
with other similar architectures.

An alternative would be to drop BFD on non-native non-dynlink archs, if
it is actually used only for .cmxs files.

Late commit because I wanted to avoid conflicting with the ongoing OCaml
update, but this one will need a refreshed diff anyway.

Tested by kettenis@
2018-07-11 09:30:55 +00:00
espie
adf97138bc tweak pre-fake and post-install modules, so that they're run in the
exact same way (e.g., with FAKE_SETUP done and with changed
identity already).

Adjust user modules accordingly.
2017-12-03 11:10:10 +00:00
ajacoutot
0b50ae809a PLIST change = bump 2017-09-15 09:23:12 +00:00
chrisz
af5c675178 Fix PLISTs for bytecode only build.
ok jasper@, krw@
2017-09-14 15:43:45 +00:00
jasper
65695f663a try to bring balance to the force by moving all native/bytecode files to the
correct PFRAG file.

ok krw@
2017-09-12 17:36:19 +00:00
jasper
0b7a1d3a0f trailing whitespace 2017-09-01 17:04:22 +00:00
sthen
ec8251354a let ocaml's build dep on devel/gdb (for libbfd.a) be conditional, don't
use it on aarch64 where gdb hasn't been ported yet.
2017-05-25 22:57:42 +00:00
jca
4d8a9a69b5 Don't hardcode gcc -c 2017-02-27 20:51:03 +00:00
jasper
15eee39723 remove handling of zaurus 2016-09-07 10:02:59 +00:00
krw
f5fd6f0fd2 Upgrade Ocaml to 4.3.0 and tweak ports the minimal amount to keep
them all compiling.

Tweaks include updating

ocaml-batteries 2.3.1 -> 2.5.0
ocaml-lwt 2.4.8 -> 2.5.2
ocaml-ppx-tools 0.99.2 -> 4.03.0
ocaml-camlp4 4.02+6 -> 4.03+1
utop 1.15 -> 1.19.2

and fixes to coccinelle and wyrd to let them build on bytecode archs.

Other necessary tweaks from the various homes of the projects.

Everything still builds on amd64 (native and bytecode) and sparc64 (bytecode).

ok anil@ sthen@ so final 4.3.0 tweaks can be done in-tree.
2016-06-24 15:59:11 +00:00
krw
50b44b65e0 Stop building Ocaml's internal ocamlbuild and use the ocaml-ocamlbuild port
where needed.

The next step towards Ocaml 4.3.0.

Bulk build by sthen@ identified several laggards which are included here.

ok anil@ sthen@ so final 4.3.0 polishing can be done in-tree.
2016-06-23 19:23:53 +00:00
jca
9c6fc9ff29 Miod says ocaml works on hppa. 2016-04-11 11:21:31 +00:00
naddy
b565ffc051 g/c PFRAG.shared from OCaml ports; ok chrisz@ 2016-03-29 11:27:00 +00:00
mmcc
9faeee73dc tweak HOMEPAGE to avoid cert error, crank REVISION
ok avsm@
2016-02-29 23:42:51 +00:00
avsm
f718ac074b update to ocaml-4.02.3
ok jca@, tested by krw@ daniel@ jsg@
2015-08-30 15:38:32 +00:00
sthen
9117d447a3 ocaml-4.02-refman-html.tar.gz was re-rolled upstream (regenerated with new
hevea; header changes but no content changes) - adjust distinfo, and while
there also package a .css file that was missing. OK chrisz@
2015-07-16 15:05:55 +00:00
chrisz
43cd332526 update to OCaml 4.02.1.
Tested upgrade from 4.02.0 without revision bumping other packages.

ok avsm@. espie@ had a look -> no revision bumps needed.
2014-10-25 11:55:54 +00:00
chrisz
bbb4fdcb7f Remove unused and wrong OCAML_VERSION.
It's job is now done by bsd.port.arch.mk

Noticed and ok by jca@
2014-09-08 05:10:10 +00:00
chrisz
613008e6eb bump due to reordering of plist. Noticed by naddy@ Thanks! 2014-09-04 15:56:26 +00:00
chrisz
df729a7087 Fix PLISTs for bytecode archs. No plist change for native archs.
Bytecode archs were broken until now.
2014-09-03 17:48:19 +00:00
chrisz
4f34b70b07 Upgrade OCaml to 4.02. Since camlp4 is now a seperate port,
add / change BUILD_DEPENDS for all ports using camlp4.
Findlib is changed because it won't use camlp4 and doesn't install
the Bytes module anymore, which is now included in OCaml 4.02.

ok avsm@
2014-09-02 09:24:44 +00:00
chrisz
10bf6648f4 Split off camlp4, labltk and graphics from our current OCaml 4.01.
This will help when upgrading to upcoming OCaml 4.02, which will miss camlp4
and labltk.
For a smooth transision, make all OCaml ports BUILD_DEPEND on camlp4 via
MODULES=ocaml.

sysutils/findlib is the only port using -labltk.
graphics/ocaml-camlimage is the only port using -graphics.


ok avsm@
2014-08-21 20:54:04 +00:00
espie
1e03f31759 _FAKESUDO where needed, from naddy 2014-08-10 10:13:18 +00:00
dcoppa
12edcd8e6b Update to ocaml-4.01.0
Tested in a bulk build by landry@
2013-11-25 14:40:15 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
chrisz
12eb27ca17 by default use ocamldoc.opt on native-dynlink archs.
This will greatly speed up builds for several ports.
2013-01-03 14:32:11 +00:00
chrisz
0db34feeee always define -Ddynlink= in PKG_ARGS and MODOCAML_NATDYNLINK.
This unbreaks devel/coccinelle

OK
jasper@, landry@, avsm@ (maintainer)
2012-12-31 15:17:00 +00:00
chrisz
0081341c9f update lang/ocaml to 4.00.1.
Let all ocaml ports RUN_DEPEND on the version of ocaml they were built with.
2012-11-30 19:38:09 +00:00
avsm
21a5f242c1 unbreak ocaml on macppc by fixing the configure script 2012-11-01 07:57:26 +00:00
sthen
6eacdb91e8 bump various packages with static libs which frequently get pulled in;
this is to force pkg_add -u to pick them up because moving to PIE does change
these files but since there are no library bumps, the package signature stays
the same.

there are probably others, these are just ones I've run into. not a great
fix, and needs to be repeated when other arch move, but it's the simplest low
impact fix and I'm fed up with "relocation R_X86_64_32S can not be used
when making a shared object; recompile with -fPIC"
2012-10-12 14:53:39 +00:00
ajacoutot
9dc0254ef0 This port never built on powerpc since it got updated, so mark it BROKEN. 2012-10-04 07:45:26 +00:00
avsm
e1e478862b CONFIGURE_STYLE=oasis should BUILD_DEPENDS on sysutils/findlib, as OASIS
hardcodes its use, and naddy@ found several broken builds as a result.

ok from czimmermann too.
2012-09-05 21:36:31 +00:00
avsm
d9100de916 specify the correct man page location for CONFIGURE_STYLE=oasis ports 2012-08-21 00:24:22 +00:00
avsm
0ffcd882eb update to ocaml-4.00.0
- uses new ocaml_native and ocaml_native_dynlink arch properties
- changelog: http://caml.inria.fr/pub/distrib/ocaml-4.00/notes/Changes

From Christopher Zimmermann <madroach@gmerlin.de> with fixes from me
2012-08-18 21:49:16 +00:00
ajacoutot
db4cc08965 Mark BROKEN on powerpc. 2012-07-04 12:47:50 +00:00
espie
10adbfb29c use TRUEPREFIX to allow correct behavior wrt do-install.
from Christopher Zimmermann
2012-06-25 11:43:35 +00:00
avsm
8b3a4ece12 Upgrade to ocaml-3.12.1
Also include the compiler standard libraries under compiler-libs/, as this
is the convention adopted by other packaging (Debian, FreeBSD), and is used
by various utility software such as the Lwt interactive toplevel and some
of the graphical IDEs.
2011-12-21 21:31:50 +00:00
dcoppa
255304fa80 Re-apply revision 1.51: switch ocaml to use the static libbfd.a
from devel/gdb port now that gdb has been fixed.

OK espie@
2011-10-31 09:59:05 +00:00
sthen
44a531d6b3 revert previous; devel/gdb broken on amd64 2011-09-27 21:39:35 +00:00
landry
55d38b2fe3 Switch ocaml to use the static libbfd.a from devel/gdb port now that
it's hooked up to the build on all archs. Tested on i386/amd64/sparc64.
ok avsm@ (maintainer) ckuethe@ dcoppa@ jasper@
2011-09-27 19:01:25 +00:00
dcoppa
59f5224fca upstream rerolled ocaml-3.12-refman.html.tar.gz 2011-09-16 09:38:31 +00:00
dcoppa
583c7edd47 Fix build on amd64.
Problem reported by landry@ and kili@.

OK landry@
2010-12-17 18:42:04 +00:00
dcoppa
84c49d47a3 Update to ocaml-3.12.0
Maintainer timeout.

OK landry@, jasper@
2010-12-07 15:01:35 +00:00