head 1.3; access; symbols pkgsrc-2022Q1:1.2.0.38 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.36 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.34 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.32 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.30 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.28 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.26 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.22 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.24 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.20 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.18 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.16 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.14 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.12 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.10 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.8 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.6 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.4 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.1.0.12 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.10 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.8 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.6 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2022.05.24.17.55.23; author jaapb; state dead; branches; next 1.2; commitid 9w2LZrmhJsoxQkFD; 1.2 date 2017.07.11.14.16.23; author jaapb; state Exp; branches; next 1.1; commitid WMMHGKNRPEAXMOYz; 1.1 date 2016.02.07.21.43.03; author markd; state Exp; branches; next ; commitid wU4zMyGK9iUlY1Uy; desc @@ 1.3 log @Updated math/ocaml-zarith to version 1.12. Changes are mostly minor, see the Changes file inside the distribution for more details. @ text @$NetBSD: patch-configure,v 1.2 2017/07/11 14:16:23 jaapb Exp $ Proper operating system detection --- configure.orig 2015-11-09 21:21:45.000000000 +0000 +++ configure 2017-07-10 16:23:00.447649770 +0000 @@@@ -307,6 +307,14 @@@@ arch='i686' fi ;; + i386-*freebsd* | i386-*netbsd* | i386-*dragonfly*) + ccdef="-DZ_ELF -DZ_DOT_LABEL_PREFIX $ccdef" + arch='i686' + ;; + amd64-*freebsd* | amd64-*netbsd* | 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 @ 1.2 log @Revbump associated with ocaml 4.04.2, plus updated distribution method @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add ocaml-zarith 1.4.1 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. @ text @d3 4 a6 3 --- configure.orig 2013-06-12 07:13:59.000000000 +0000 +++ configure @@@@ -304,6 +304,14 @@@@ case $host in a20 9 @@@@ -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 @