81 Commits

Author SHA1 Message Date
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
ajacoutot
0b50ae809a PLIST change = bump 2017-09-15 09:23:12 +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
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
613008e6eb bump due to reordering of plist. Noticed by naddy@ Thanks! 2014-09-04 15:56:26 +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
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
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
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
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
espie
9fb7a3fc28 tk/tcl wantlib conversion 2010-11-06 22:06:57 +00:00
sthen
70ae306958 Add a prominent comment asking people to check/handle dependent
ports if they update this. Suggested by espie on ports@.
2010-11-04 13:45:10 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
88dd25abf4 USE_GROFF=Yes 2010-10-18 19:20:41 +00:00
avsm
63507764a2 update to ocaml-3.11.2, mainly bugfixes. from dcoppa@ with minor PLIST tweaks from me 2010-06-04 13:58:18 +00:00
kili
6b51812b24 WANTLIB changes after xcb addition and bump.
For some unknown reason, I forgot to commit lang/*
this morning.
2009-08-10 17:31:07 +00:00
avsm
09774bdfe0 update to ocaml-3.11.1 and bump dependent package PKGNAMEs 2009-06-20 22:05:11 +00:00
avsm
25c5604b41 update ocaml to 3.11.0
tested by krw@ and Richard Bonichon <richard.bonichon@gmail.com>
2009-03-11 21:19:49 +00:00
merdely
f525d52359 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN 2007-09-16 00:27:05 +00:00
avsm
48ff1ec042 - support shared libraries in OCaml, for dynamic top level to work.
- fix bad string handling in ocamlyacc, spotted by Ray Lai w/ malloc flags
- bump PKGNAME
2007-02-08 14:32:57 +00:00
avsm
58d761b343 Update to ocaml-3.09.3, mainly bugfixes (no language changes).
Also modify ocaml.port.mk to depend on the exact version of ocaml being
compiled against, since the OCaml library format makes no guarantees about
working across versions.  This dependency should ensure that packages compiled
against different ocaml versions aren't mixed and matched.
2006-12-26 22:07:18 +00:00
steven
3fa7fd5027 USE_X11 2006-11-13 11:20:24 +00:00
avsm
e32ee88cb0 upgrade to ocaml-3.09.2, sturm@ ok 2006-05-28 15:28:53 +00:00
avsm
c9f49b6af4 update to ocaml-3.08.4 2005-09-23 14:23:42 +00:00
avsm
645067bbcc bump PKGNAME for the amd64 native code fix 2005-06-13 23:22:43 +00:00
avsm
d69c5dc23c upgrade to ocaml-3.08.3, tested on many architectures by krw@ 2005-05-09 13:50:41 +00:00