summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-03-27 12:54:59 +0000
committerjperkin <jperkin@pkgsrc.org>2017-03-27 12:54:59 +0000
commitd39ace585d1aec43236edf3755d895ef518f35aa (patch)
tree0ff3ef71ebe04ae6d27029b5e7583112d3e367c0 /lang/ocaml/patches
parentdf85d852b3a40fdf97e31f7c8dc9d104dc8c52fc (diff)
downloadpkgsrc-d39ace585d1aec43236edf3755d895ef518f35aa.tar.gz
Enable profiling on SunOS/x86_64. Note to DragonFly developers that the
existing patch for enabling profiling for that platform is clearly incorrect, but I'm not going to change it without being able to test it.
Diffstat (limited to 'lang/ocaml/patches')
-rw-r--r--lang/ocaml/patches/patch-configure15
1 files changed, 8 insertions, 7 deletions
diff --git a/lang/ocaml/patches/patch-configure b/lang/ocaml/patches/patch-configure
index a9913945f80..c9012f13ed3 100644
--- a/lang/ocaml/patches/patch-configure
+++ b/lang/ocaml/patches/patch-configure
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.21 2017/03/23 18:22:34 jperkin Exp $
+$NetBSD: patch-configure,v 1.22 2017/03/27 12:54:59 jperkin Exp $
All kinds of OS-specific changes to configure
--- configure.orig 2016-11-04 16:08:24.000000000 +0000
@@ -90,15 +90,16 @@ All kinds of OS-specific changes to configure
power,elf) if $arch64; then
as="${TOOLPREF}as -a64 -mppc64"
aspp="${TOOLPREF}gcc -m64 -c"
-@@ -991,6 +995,7 @@ case "$arch,$system" in
+@@ -991,6 +995,8 @@ case "$arch,$system" in
arm,linux*) profiling='prof';;
power,elf) profiling='prof';;
power,bsd*) profiling='prof';;
-+ *,*,dragonfly) profiling='prof';;
++ *,*,dragonfly) profiling='prof';;
++ amd64,solaris) profiling='prof';;
*) profiling='noprof';;
esac
-@@ -1554,6 +1559,8 @@ fi
+@@ -1554,6 +1560,8 @@ fi
x11_include="not found"
x11_link="not found"
@@ -107,7 +108,7 @@ All kinds of OS-specific changes to configure
if test -z "$x11_include_dir" -a -z "$x11_lib_dir"; then
if pkg-config --exists x11 2>/dev/null; then
x11_include=`pkg-config --cflags x11`
-@@ -1600,6 +1607,7 @@ if test "$x11_include" = "not found"; th
+@@ -1600,6 +1608,7 @@ if test "$x11_include" = "not found"; th
/usr/XFree86/include/X11 \
\
/usr/include \
@@ -115,7 +116,7 @@ All kinds of OS-specific changes to configure
/usr/local/include \
/usr/unsupported/include \
/usr/athena/include \
-@@ -1657,6 +1665,7 @@ if test "$x11_include" = "not found"; th
+@@ -1657,6 +1666,7 @@ if test "$x11_include" = "not found"; th
\
/usr/lib64 \
/usr/lib \
@@ -123,7 +124,7 @@ All kinds of OS-specific changes to configure
/usr/local/lib \
/usr/unsupported/lib \
/usr/athena/lib \
-@@ -1678,19 +1687,16 @@ if test "$x11_include" = "not found"; th
+@@ -1678,19 +1688,16 @@ if test "$x11_include" = "not found"; th
if test $dir = /usr/lib; then
x11_link="-lX11"
else