head 1.3; access; symbols pkgsrc-2022Q1:1.2.0.16 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.14 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.12 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.10 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.8 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.14 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.16 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.12 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.10 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.8 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.6 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.4 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.2 pkgsrc-2018Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2022.06.03.12.46.25; author jaapb; state dead; branches; next 1.2; commitid TfsQ6Zggoz0GOAGD; 1.2 date 2020.04.21.13.02.02; author jaapb; state Exp; branches; next 1.1; commitid TluR6bKAqunFKf5C; 1.1 date 2018.06.05.16.02.40; author jaapb; state Exp; branches; next ; commitid lLDNyQe3rR5GN6FA; desc @@ 1.3 log @Update www/ocsigen-i18n to version 4.0.0. Fixes are minor, but the package has switched to dune for building. @ text @$NetBSD: patch-Makefile,v 1.2 2020/04/21 13:02:02 jaapb Exp $ Allow for bytecode or native compilation --- Makefile.orig 2019-11-15 16:18:31.000000000 +0000 +++ Makefile @@@@ -1,4 +1,8 @@@@ +ifeq (${OPTNESS},native) OCAMLOPT=ocamlfind ocamlopt +else +OCAMLOPT=ocamlfind ocamlc +endif CHECKER=ocsigen-i18n-checker REWRITER=ocsigen-i18n-rewriter GENERATOR=ocsigen-i18n-generator @@@@ -26,7 +30,11 @@@@ install: ${PROGS} ifndef bindir ${error bindir is not set} else - cp ${PROGS} ${bindir} +ifeq ($(OPTNESS),native) + ${BSD_INSTALL_PROGRAM} ${PROGS} ${bindir} +else + ${BSD_INSTALL_SCRIPT} ${PROGS} ${bindir} +endif endif uninstall: @ 1.2 log @Updated www/ocsigen-i18n to version 3.5.0. This adds a dependency on ppx_tools. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @New package www/ocsigen-i18n, which does exactly what its name suggests @ text @d3 3 a5 2 Use proper installation programs and native compilation --- Makefile.orig 2017-01-16 16:05:43.000000000 +0000 d9 1 a9 1 +OCAMLC=ocamlfind ocamlopt d11 1 a11 1 OCAMLC=ocamlfind ocamlc @