mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
This is a new requirement for the latest veersion of alt-ergo. ================================================================ The Zarith library implements arithmetic and logical operations over arbitrary precision numbers. It uses GMP to efficiently implement arithmetic over large numbers. Small integers are represented as Caml unboxed integers for speed and space economy. WWW: http://forge.ocamlcore.org/projects/zarith
26 lines
741 B
Text
26 lines
741 B
Text
--- configure.orig 2013-06-12 07:13:59.000000000 +0000
|
|
+++ configure
|
|
@@ -304,6 +304,14 @@ case $host in
|
|
arch='i686'
|
|
fi
|
|
;;
|
|
+ i386-*freebsd* | i386-*dragonfly*)
|
|
+ ccdef="-DZ_ELF -DZ_DOT_LABEL_PREFIX $ccdef"
|
|
+ arch='i686'
|
|
+ ;;
|
|
+ amd64-*freebsd* | x86_64-*dragonfly*)
|
|
+ ccdef="-DZ_ELF -DZ_DOT_LABEL_PREFIX $ccdef"
|
|
+ arch='x86_64'
|
|
+ ;;
|
|
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
|
|
ASFLAGS=$ccdef $asopt
|
|
LIBS=$cclib
|
|
ARCH=$arch
|
|
-INSTALLDIR=$installdir
|
|
+INSTALLDIR=${DESTDIR}$installdir
|
|
AR=$ar
|
|
INSTALL=install
|
|
OCAMLFIND=ocamlfind
|