summaryrefslogtreecommitdiff
path: root/lang/ocaml/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-07-03 06:02:21 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-07-03 06:02:21 +0000
commit3df8eb77680c4f0b7521eb0f9df595a5f3b0a63c (patch)
treed0662afbd71701d6147c03a7d680da43e279ac4e /lang/ocaml/files
parentRemove a leftover directory. (diff)
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)
Notes
Notes: svn path=/head/; revision=138372
Diffstat (limited to 'lang/ocaml/files')
-rw-r--r--lang/ocaml/files/patch-configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/ocaml/files/patch-configure b/lang/ocaml/files/patch-configure
index b300cbf32078..299803b7afc4 100644
--- a/lang/ocaml/files/patch-configure
+++ b/lang/ocaml/files/patch-configure
@@ -1,5 +1,14 @@
--- configure.orig Thu Jul 15 16:17:46 2004
+++ configure Thu Jul 15 16:58:51 2004
+@@ -652,7 +652,8 @@
+ case "$arch,$model,$system" in
+ alpha,*,digital) profiling='prof';;
+ i386,*,linux_elf) profiling='prof';;
+ i386,*,bsd_elf) profiling='prof';;
++ *,*,freebsd) profiling='prof';;
+ sparc,*,solaris)
+ profiling='prof'
+ case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
@@ -1113,116 +1113,14 @@
x11_include="not found"
x11_link="not found"