aboutsummaryrefslogtreecommitdiff
path: root/math/ocaml-zarith/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-16 09:03:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-16 09:03:43 +0000
commiteeb39316e3b4129fe7a989e98c51111809fd2c59 (patch)
tree7be92479b3c6092cbb400a31a50bbe91ebaa90e1 /math/ocaml-zarith/files
parenta8e577f421e033afe0f8b00fb470ac9f029fc7c8 (diff)
downloadports-eeb39316e3b4129fe7a989e98c51111809fd2c59.tar.gz
ports-eeb39316e3b4129fe7a989e98c51111809fd2c59.zip
- Fix license
- Add LICENSE_FILE - Fix build on arm
Notes
Notes: svn path=/head/; revision=424051
Diffstat (limited to 'math/ocaml-zarith/files')
-rw-r--r--math/ocaml-zarith/files/patch-configure17
1 files changed, 14 insertions, 3 deletions
diff --git a/math/ocaml-zarith/files/patch-configure b/math/ocaml-zarith/files/patch-configure
index d8022f7de1b1..6a42bd3e0d82 100644
--- a/math/ocaml-zarith/files/patch-configure
+++ b/math/ocaml-zarith/files/patch-configure
@@ -1,6 +1,17 @@
---- configure.orig 2013-06-12 07:13:59.000000000 +0000
+--- configure.orig 2013-06-12 07:13:59 UTC
+++ configure
-@@ -304,6 +304,14 @@ case $host in
+@@ -127,6 +127,10 @@ searchbin()
+ {
+ if test "x$1" = "x"; then return 0; fi
+ echo_n "binary $1: "
++ if test -x "$1"; then
++ echo "found"
++ return 1
++ fi
+ IFS=':'
+ for i in $PATH
+ do
+@@ -304,6 +308,14 @@ case $host in
arch='i686'
fi
;;
@@ -15,7 +26,7 @@
i386-*darwin* | x86_64-*darwin*)
ccdef="-DZ_UNDERSCORE_PREFIX -DZ_MACOS $ccdef"
if test "x$wordsize" = "x64"; then
-@@ -401,7 +409,7 @@ CFLAGS=$ccinc $ccdef $ccopt
+@@ -401,7 +413,7 @@ CFLAGS=$ccinc $ccdef $ccopt
ASFLAGS=$ccdef $asopt
LIBS=$cclib
ARCH=$arch