head 1.42; access; symbols pkgsrc-2023Q4:1.42.0.14 pkgsrc-2023Q4-base:1.42 pkgsrc-2023Q3:1.42.0.12 pkgsrc-2023Q3-base:1.42 pkgsrc-2023Q2:1.42.0.10 pkgsrc-2023Q2-base:1.42 pkgsrc-2023Q1:1.42.0.8 pkgsrc-2023Q1-base:1.42 pkgsrc-2022Q4:1.42.0.6 pkgsrc-2022Q4-base:1.42 pkgsrc-2022Q3:1.42.0.4 pkgsrc-2022Q3-base:1.42 pkgsrc-2022Q2:1.42.0.2 pkgsrc-2022Q2-base:1.42 pkgsrc-2022Q1:1.41.0.4 pkgsrc-2022Q1-base:1.41 pkgsrc-2021Q4:1.41.0.2 pkgsrc-2021Q4-base:1.41 pkgsrc-2021Q3:1.40.0.6 pkgsrc-2021Q3-base:1.40 pkgsrc-2021Q2:1.40.0.4 pkgsrc-2021Q2-base:1.40 pkgsrc-2021Q1:1.40.0.2 pkgsrc-2021Q1-base:1.40 pkgsrc-2020Q4:1.39.0.14 pkgsrc-2020Q4-base:1.39 pkgsrc-2020Q3:1.39.0.12 pkgsrc-2020Q3-base:1.39 pkgsrc-2020Q2:1.39.0.10 pkgsrc-2020Q2-base:1.39 pkgsrc-2020Q1:1.39.0.6 pkgsrc-2020Q1-base:1.39 pkgsrc-2019Q4:1.39.0.8 pkgsrc-2019Q4-base:1.39 pkgsrc-2019Q3:1.39.0.4 pkgsrc-2019Q3-base:1.39 pkgsrc-2019Q2:1.39.0.2 pkgsrc-2019Q2-base:1.39 pkgsrc-2019Q1:1.38.0.4 pkgsrc-2019Q1-base:1.38 pkgsrc-2018Q4:1.38.0.2 pkgsrc-2018Q4-base:1.38 pkgsrc-2018Q3:1.37.0.2 pkgsrc-2018Q3-base:1.37 pkgsrc-2018Q2:1.35.0.2 pkgsrc-2018Q2-base:1.35 pkgsrc-2018Q1:1.34.0.2 pkgsrc-2018Q1-base:1.34 pkgsrc-2017Q4:1.33.0.6 pkgsrc-2017Q4-base:1.33 pkgsrc-2017Q3:1.33.0.4 pkgsrc-2017Q3-base:1.33 pkgsrc-2017Q2:1.30.0.4 pkgsrc-2017Q2-base:1.30 pkgsrc-2017Q1:1.30.0.2 pkgsrc-2017Q1-base:1.30 pkgsrc-2016Q4:1.27.0.6 pkgsrc-2016Q4-base:1.27 pkgsrc-2016Q3:1.27.0.4 pkgsrc-2016Q3-base:1.27 pkgsrc-2016Q2:1.27.0.2 pkgsrc-2016Q2-base:1.27 pkgsrc-2016Q1:1.26.0.2 pkgsrc-2016Q1-base:1.26 pkgsrc-2015Q4:1.25.0.4 pkgsrc-2015Q4-base:1.25 pkgsrc-2015Q3:1.25.0.2 pkgsrc-2015Q3-base:1.25 pkgsrc-2015Q2:1.23.0.4 pkgsrc-2015Q2-base:1.23 pkgsrc-2015Q1:1.23.0.2 pkgsrc-2015Q1-base:1.23 pkgsrc-2014Q4:1.22.0.2 pkgsrc-2014Q4-base:1.22 pkgsrc-2014Q3:1.20.0.12 pkgsrc-2014Q3-base:1.20 pkgsrc-2014Q2:1.20.0.10 pkgsrc-2014Q2-base:1.20 pkgsrc-2014Q1:1.20.0.8 pkgsrc-2014Q1-base:1.20 pkgsrc-2013Q4:1.20.0.6 pkgsrc-2013Q4-base:1.20 pkgsrc-2013Q3:1.20.0.4 pkgsrc-2013Q3-base:1.20 pkgsrc-2013Q2:1.20.0.2 pkgsrc-2013Q2-base:1.20 pkgsrc-2013Q1:1.18.0.4 pkgsrc-2013Q1-base:1.18 pkgsrc-2012Q4:1.18.0.2 pkgsrc-2012Q4-base:1.18 pkgsrc-2012Q3:1.16.0.4 pkgsrc-2012Q3-base:1.16 pkgsrc-2012Q2:1.16.0.2 pkgsrc-2012Q2-base:1.16 pkgsrc-2012Q1:1.15.0.4 pkgsrc-2012Q1-base:1.15 pkgsrc-2011Q4:1.15.0.2 pkgsrc-2011Q4-base:1.15 pkgsrc-2011Q3:1.13.0.2 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.11.0.6 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.4 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.2 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.10.0.10 pkgsrc-2010Q3-base:1.10 pkgsrc-2010Q2:1.10.0.8 pkgsrc-2010Q2-base:1.10 pkgsrc-2010Q1:1.10.0.6 pkgsrc-2010Q1-base:1.10 pkgsrc-2009Q4:1.10.0.4 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q3:1.10.0.2 pkgsrc-2009Q3-base:1.10 pkgsrc-2009Q2:1.9.0.6 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.4 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.2 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.8.0.8 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.6 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.4 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.2 pkgsrc-2008Q1:1.7.0.10 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.8 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.6 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.4 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.2 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.42 date 2022.05.24.18.51.57; author jaapb; state Exp; branches; next 1.41; commitid tyn8C2gxw4eI9lFD; 1.41 date 2021.12.26.05.09.45; author dholland; state Exp; branches; next 1.40; commitid mWPVZitN2nSho7mD; 1.40 date 2021.03.08.08.13.10; author jaapb; state Exp; branches; next 1.39; commitid ZSVtQ5nGxDdxPtKC; 1.39 date 2019.05.14.16.01.17; author jaapb; state Exp; branches; next 1.38; commitid gtHs21Mx94taLbnB; 1.38 date 2018.11.12.16.10.17; author jaapb; state Exp; branches; next 1.37; commitid FZB9fL8bVKwuHFZA; 1.37 date 2018.07.19.15.15.31; author jaapb; state Exp; branches; next 1.36; commitid ZBwJ6cko9yxK7LKA; 1.36 date 2018.07.04.13.40.44; author jperkin; state Exp; branches; next 1.35; commitid NnIyRkdX3Lbg3PIA; 1.35 date 2018.04.13.13.55.29; author jaapb; state Exp; branches; next 1.34; commitid A49DCkSjqvvBNhyA; 1.34 date 2018.01.10.16.53.15; author jaapb; state Exp; branches; next 1.33; commitid pYranbFo2xN1MlmA; 1.33 date 2017.09.13.05.19.18; author dholland; state Exp; branches; next 1.32; commitid Asnf71wtQld9LZ6A; 1.32 date 2017.09.08.09.51.27; author jaapb; state Exp; branches; next 1.31; commitid QlPKma5uQMhrqn6A; 1.31 date 2017.07.11.14.19.19; author jaapb; state Exp; branches; next 1.30; commitid zRtIS2jVq0FXNOYz; 1.30 date 2016.12.31.09.15.00; author dholland; state Exp; branches; next 1.29; commitid 6kbKGHV3TUWei7Az; 1.29 date 2016.12.31.08.09.14; author dholland; state Exp; branches; next 1.28; commitid 7Jns8TDIvj4CV6Az; 1.28 date 2016.12.30.11.16.57; author jaapb; state Exp; branches; next 1.27; commitid 4UT4oNjI9i6XZZzz; 1.27 date 2016.05.05.11.45.37; author jaapb; state Exp; branches; next 1.26; commitid hgz2yCFtg7paQh5z; 1.26 date 2015.12.29.04.54.39; author dholland; state Exp; branches; next 1.25; commitid u8BGzIq28fJjGNOy; 1.25 date 2015.08.07.11.20.33; author jaapb; state Exp; branches; next 1.24; commitid d2FFtHsvhgFxrkwy; 1.24 date 2015.06.30.11.53.00; author jaapb; state Exp; branches; next 1.23; commitid BIwgKflO8AXrQrry; 1.23 date 2015.01.20.14.24.38; author jaapb; state Exp; branches; next 1.22; commitid hwPQ9mt8k2M4RL6y; 1.22 date 2014.10.13.13.25.44; author jaapb; state Exp; branches; next 1.21; commitid 72LH7xQYqyTgI2Ux; 1.21 date 2014.10.09.19.14.05; author jaapb; state Exp; branches; next 1.20; commitid ASrgNtTBRvgULyTx; 1.20 date 2013.04.06.21.07.36; author rodent; state Exp; branches; next 1.19; 1.19 date 2013.04.06.15.46.40; author rodent; state Exp; branches; next 1.18; 1.18 date 2012.10.29.05.06.41; author asau; state Exp; branches; next 1.17; 1.17 date 2012.10.08.15.18.26; author jaapb; state Exp; branches; next 1.16; 1.16 date 2012.06.22.11.39.44; author sbd; state Exp; branches; next 1.15; 1.15 date 2011.12.13.06.17.35; author marino; state Exp; branches; next 1.14; 1.14 date 2011.12.06.00.19.21; author sbd; state Exp; branches; next 1.13; 1.13 date 2011.08.08.07.31.52; author obache; state Exp; branches; next 1.12; 1.12 date 2011.08.07.20.30.15; author wiz; state Exp; branches; next 1.11; 1.11 date 2010.11.07.18.36.08; author tonio; state Exp; branches; next 1.10; 1.10 date 2009.09.07.21.48.14; author tonio; state Exp; branches; next 1.9; 1.9 date 2008.12.22.20.04.07; author joerg; state Exp; branches; next 1.8; 1.8 date 2008.04.12.22.43.15; author jlam; state Exp; branches; next 1.7; 1.7 date 2007.01.30.20.56.13; author joerg; state Exp; branches; next 1.6; 1.6 date 2006.02.22.21.00.32; author wiz; state Exp; branches; next 1.5; 1.5 date 2006.02.05.23.11.40; author joerg; state Exp; branches; next 1.4; 1.4 date 2005.06.01.18.03.30; author jlam; state Exp; branches; next 1.3; 1.3 date 2005.03.24.11.33.24; author adam; state Exp; branches; next 1.2; 1.2 date 2005.02.04.22.38.59; author adrianp; state Exp; branches; next 1.1; 1.1 date 2004.12.24.17.17.49; author jmmv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.12.24.17.17.49; author jmmv; state Exp; branches; next ; desc @@ 1.42 log @Recursive revbump associated with update of ocaml. Also change of mk/ocaml.mk to lang/ocaml/ocaml.mk. @ text @# $NetBSD: Makefile,v 1.41 2021/12/26 05:09:45 dholland Exp $ GITHUB_PROJECT= graphics DISTNAME= ocaml-${GITHUB_PROJECT}-2.0.0 PKGREVISION= 3 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/} MAINTAINER= jaapb@@NetBSD.org HOMEPAGE= https://github.com/ocaml/graphics/ COMMENT= OCaml graphics library LICENSE= gnu-lgpl-v2.1 WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV} OCAML_USE_DUNE= yes .include "../../lang/ocaml/ocaml.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.41 log @Fix undefined PLT symbol "caml_process_pending_signals" in ocaml-graphics. Patch from upstream. Bump PKGREVISION (to 2) as it built but didn't run. XXX: this package needs to be updated after the freeze @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2021/03/08 08:13:10 jaapb Exp $ d5 1 a5 1 PKGREVISION= 2 d18 1 a18 1 .include "../../mk/ocaml.mk" @ 1.40 log @Recursive revbump associated with update of lang/ocaml @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2019/05/14 16:01:17 jaapb Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.39 log @"Updated" package x11/ocaml-graphics to version 2.0.0. The package itself hasn't changed, it is just distributed differently; as a separate package rather than with ocaml itself. The version has thus regressed from OCaml's 4.07 to an independent 2.0.0, which means that people will have to manually "upgrade" the package. @ text @d1 1 a1 1 # $NetBSD$ d5 1 @ 1.38 log @Revbumps associated with update of lang/ocaml. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2018/07/19 15:15:31 jaapb Exp $ d3 4 a6 3 .include "../../lang/ocaml/Makefile.common" DISTINFO_FILE= ${PKGDIR}/../../lang/ocaml/distinfo PATCHDIR= ${PKGDIR}/../../lang/ocaml/patches d8 4 a11 2 PKGNAME= ${DISTNAME:S/ocaml/ocaml-graphics/} PKGREVISION= 13 d13 1 a13 1 COMMENT+= (graphics library) d15 1 a15 6 CONFIGURE_ARGS+= -x11include ${X11BASE}/include CONFIGURE_ARGS+= -x11lib ${X11BASE}/lib BUILD_DIRS= otherlibs/graph BUILD_TARGET= all INSTALL_TARGET= install a17 56 .if ${OCAML_USE_OPT_COMPILER} == "yes" BUILD_TARGET+= allopt INSTALL_TARGET+= installopt .endif PLIST_VARS+= natdynlib .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") . if !empty(MACHINE_PLATFORM:MLinux-*-*) || \ !empty(MACHINE_PLATFORM:MDarwin-*-*) || \ !empty(MACHINE_PLATFORM:MFreeBSD-*-*) || \ !empty(MACHINE_PLATFORM:MDragonFly-*-*) || \ !empty(MACHINE_PLATFORM:MNetBSD-*-*) PLIST.natdynlib= yes . endif .endif PLIST_SRC= ${WRKDIR}/.PLIST_SRC .if ${OPSYS} == "Darwin" PLIST_SRC+= ${PKGDIR}/PLIST.stub .endif BUILDLINK_DEPMETHOD.ocaml= full SUBST_CLASSES+= depend SUBST_STAGE.depend= pre-configure SUBST_FILES.depend= otherlibs/graph/.depend SUBST_SED.depend= -e 's,/usr/X11R6,${X11BASE},g' SUBST_MESSAGE.depend= Fixing .depend in otherlibs/graph. SUBST_CLASSES+= mklib SUBST_STAGE.mklib= pre-configure SUBST_FILES.mklib= otherlibs/Makefile.shared SUBST_SED.mklib= -e 's,^MKLIB=.*,MKLIB=ocamlmklib,g' SUBST_MESSAGE.mklib= Fixing MKLIB in otherlibs/Makefile.shared. SUBST_CLASSES+= comp SUBST_STAGE.comp= pre-configure SUBST_FILES.comp= otherlibs/Makefile SUBST_SED.comp= -e 's,^CAMLC=.*,CAMLC=ocamlc,g' SUBST_SED.comp+= -e '/^CAMLOPT=/{;N;s,^CAMLOPT=.*,CAMLOPT=ocamlopt,g;}' SUBST_SED.comp+= -e 's,^MKLIB=.*,MKLIB=ocamlmklib,g' SUBST_MESSAGE.comp= Fixing CAMLC OCAMLOPT MKLIB in otherlibs/Makefile. SUBST_CLASSES+= comp2 SUBST_STAGE.comp2= pre-configure SUBST_FILES.comp2= otherlibs/graph/Makefile SUBST_SED.comp2= -e 's,..CAMLRUN..*ocamldep,ocamldep,g' SUBST_MESSAGE.comp2= Fixing ocamldep in otherlibs/graph/Makefile. INSTALLATION_DIRS+= lib/ocaml/stublibs post-build: ${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC @ 1.37 log @Recursive revbump associated with the update of lang/ocaml to 4.07. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2018/07/04 13:40:44 jperkin Exp $ d8 1 a8 1 PKGREVISION= 12 @ 1.36 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2018/04/13 13:55:29 jaapb Exp $ d8 1 a8 1 PKGREVISION= 11 @ 1.35 log @Revbump associated with the upgrade of lang/ocaml (this is the upgrade from 4.06 to 4.06.1) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2018/01/10 16:53:15 jaapb Exp $ d46 1 a46 1 SUBST_STAGE.depend= post-patch d52 1 a52 1 SUBST_STAGE.mklib= post-patch d58 1 a58 1 SUBST_STAGE.comp= post-patch d66 1 a66 1 SUBST_STAGE.comp2= post-patch @ 1.34 log @Recursive revbump associated with the update to OCaml 4.06. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2017/09/13 05:19:18 dholland Exp $ d8 1 a8 1 PKGREVISION= 10 @ 1.33 log @Building with ocaml 4.05 installs two additional files. Bump PKGREVISION again (to 9) as a precaution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2017/09/08 09:51:27 jaapb Exp $ d8 1 a8 1 PKGREVISION= 9 @ 1.32 log @Recursive revbump associated with update of ocaml to 4.05 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2017/07/11 14:19:19 jaapb Exp $ d8 1 a8 1 PKGREVISION= 8 @ 1.31 log @Revbump associated with ocaml-4.04.2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2016/12/31 09:15:00 dholland Exp $ d8 1 a8 1 PKGREVISION= 7 @ 1.30 log @More seddery. Now it builds for me. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2016/12/31 08:09:14 dholland Exp $ d8 1 a8 1 PKGREVISION= 6 @ 1.29 log @Fix seddery. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2016/12/30 11:16:57 jaapb Exp $ d62 8 a69 1 SUBST_MESSAGE.comp= Fixing CAMLC OCAMLOPT in otherlibs/Makefile. @ 1.28 log @Recursive revbump associated with ocaml update to 4.04. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2016/05/05 11:45:37 jaapb Exp $ d61 1 a61 1 SUBST_SED.comp+= -e 's,^CAMLOPT=.*,CAMLOPT=ocamlopt,g' @ 1.27 log @Recursive revbump associated with ocaml update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2015/12/29 04:54:39 dholland Exp $ d8 1 a8 1 PKGREVISION= 5 @ 1.26 log @Whitespace. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2015/08/07 11:20:33 jaapb Exp $ d8 1 a8 1 PKGREVISION= 4 @ 1.25 log @Recursive revbump associated with lang/ocaml update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2015/06/30 11:53:00 jaapb Exp $ d57 6 a62 6 SUBST_CLASSES+= comp SUBST_STAGE.comp= post-patch SUBST_FILES.comp= otherlibs/Makefile SUBST_SED.comp= -e 's,^CAMLC=.*,CAMLC=ocamlc,g' SUBST_SED.comp+= -e 's,^CAMLOPT=.*,CAMLOPT=ocamlopt,g' SUBST_MESSAGE.comp= Fixing CAMLC OCAMLOPT in otherlibs/Makefile. @ 1.24 log @Recursive revbump associated with update of lang/ocaml to 4.02.2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2015/01/20 14:24:38 jaapb Exp $ d8 1 a8 1 PKGREVISION= 3 @ 1.23 log @Revbump associated with update of lang/ocaml. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2014/10/13 13:25:44 jaapb Exp $ d8 1 a8 1 PKGREVISION= 2 @ 1.22 log @- Removed -no-tk option (thanks to joerg@@ for reporting) - Package now uses ocaml.mk framework @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2014/10/09 19:14:05 jaapb Exp $ d8 1 a8 1 PKGREVISION= 1 @ 1.21 log @Revbump for ocaml 4.02.0. (Some packages omitted because they will be updated to new versions) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2013/04/06 21:07:36 rodent Exp $ a13 1 CONFIGURE_ARGS+= -no-tk d19 3 a21 3 PLIST_VARS+= opt .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "x86_64" a23 1 PLIST.opt= yes d57 6 a62 6 SUBST_CLASSES+= comp SUBST_STAGE.comp= post-patch SUBST_FILES.comp= otherlibs/Makefile SUBST_SED.comp= -e 's,^CAMLC=.*,CAMLC=ocamlc,g' SUBST_SED.comp+= -e 's,^CAMLOPT=.*,CAMLOPT=ocamlopt,g' SUBST_MESSAGE.comp= Fixing CAMLC OCAMLOPT in otherlibs/Makefile. d67 1 a67 1 @@${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC a68 1 .include "../../lang/ocaml/buildlink3.mk" @ 1.20 log @"Each sed command should appear in an assignment of its own." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2013/04/06 15:46:40 rodent Exp $ d8 1 @ 1.19 log @'You can use "foo" instead of "${WRKSRC}/foo".' @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2012/10/29 05:06:41 asau Exp $ d61 2 a62 1 SUBST_SED.comp= -e 's,^CAMLC=.*,CAMLC=ocamlc,g' -e 's,^CAMLOPT=.*,CAMLOPT=ocamlopt,g' @ 1.18 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2012/10/08 15:18:26 jaapb Exp $ d15 1 a15 1 BUILD_DIRS= ${WRKSRC}/otherlibs/graph @ 1.17 log @Revision bump associated with the update of lang/ocaml to version 4. @ text @d1 1 a1 3 # $NetBSD: Makefile,v 1.16 2012/06/22 11:39:44 sbd Exp $ PKG_DESTDIR_SUPPORT= user-destdir @ 1.16 log @When linking with X11 add an rpath to X11 libdir. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2011/12/13 06:17:35 marino Exp $ a9 1 PKGREVISION= 6 @ 1.15 log @x11/ocaml-graphics: Fix DragonFly PLIST problem @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2011/12/06 00:19:21 sbd Exp $ d10 1 a10 1 PKGREVISION= 5 @ 1.14 log @Recursive bump for lang/ocaml buildlink addition. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2011/08/08 07:31:52 obache Exp $ d35 1 @ 1.13 log @PKGREVISION must not be in Makefile.common. move PKGREVISION to each Makefile including the Makefile.common for keep version number, and bump again for ocaml-graphics because the previous bump resuited in downgrade. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2011/08/07 20:30:15 wiz Exp $ d10 1 a10 1 PKGREVISION= 4 @ 1.12 log @Fixed the PLIST for NetBSD where lib/ocaml/stublibs/dlllablgtk2.so is built as well. Bump PKGREVISION. From Nicolas Thauvin. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2010/11/07 18:36:08 tonio Exp $ d10 1 a10 1 PKGREVISION= 1 @ 1.11 log @Try to fix plist problem under netbsd @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2009/09/07 21:48:14 tonio Exp $ d10 1 d34 2 a35 1 !empty(MACHINE_PLATFORM:MFreeBSD-*-*) @ 1.10 log @Update lang/ocaml to 3.11.1 [PR pkg/41695] (Changes that can break existing programs are marked with a "*" ) Language features: - Addition of lazy patterns: "lazy " matches suspensions whose values, after forcing, match the pattern . - Introduction of private abbreviation types "type t = private ", for abstracting the actual manifest type in type abbreviations. - Subtyping is now allowed between a private abbreviation and its definition, and between a polymorphic method and its monomorphic instance. Compilers: - The file name for a compilation unit should correspond to a valid identifier (Otherwise dynamic linking and other things can fail, and a warning is emitted.) * Revised -output-obj: the output name must now be provided; its extension must be one of .o/.obj, .so/.dll, or .c for the bytecode compiler. The compilers can now produce a shared library (with all the needed -ccopts/-ccobjs options) directly. - -dtypes renamed to -annot, records (in .annot files) which function calls are tail calls. - All compiler error messages now include a file name and location, for better interaction with Emacs' compilation mode. - Optimized compilation of "lazy e" when the argument "e" is already evaluated. - Optimized compilation of equality tests with a variant constant constructor. - The -dllib options recorded in libraries are no longer ignored when -use_runtime or -use_prims is used (unless -no_auto_link is explicitly used). - Check that at most one of -pack, -a, -shared, -c, -output-obj is given on the command line. - Optimized compilation of private types as regular manifest types (e.g. abbreviation to float, float array or record types with only float fields). Native-code compiler: - New port: Mac OS X / Intel in 64-bit mode (configure with -cc "gcc -m64"). - A new option "-shared" to produce a plugin that can be dynamically loaded with the native version of Dynlink. - A new option "-nodynlink" to enable optimizations valid only for code that is never dynlinked (no-op except for AMD64). - More aggressive unboxing of floats and boxed integers. - Can select which assembler and asm options to use at configuration time. Run-time system: - New implementation of the page table describing the heap (two-level array in 32 bits, sparse hashtable in 64 bits), fixes issues with address space randomization on 64-bit OS (PR#4448). - New "generational" API for registering global memory roots with the GC, enables faster scanning of global roots. (The functions are caml_*_generational_global_root in .) - New function "caml_raise_with_args" to raise an exception with several arguments from C. - Changes in implementation of dynamic linking of C code: under Win32, use Alain Frisch's flexdll implementation of the dlopen API; under MacOSX, use dlopen API instead of MacOSX bundle API. - Programs may now choose a first-fit allocation policy instead of the default next-fit. First-fit reduces fragmentation but is slightly slower in some cases. Standard library: - Parsing library: new function "set_trace" to programmatically turn on or off the printing of a trace during parsing. - Printexc library: new functions "print_backtrace" and "get_backtrace" to obtain a stack backtrace of the most recently raised exception. New function "record_backtrace" to turn the exception backtrace mechanism on or off from within a program. - Scanf library: fine-tuning of meta format implementation; fscanf behaviour revisited: only one input buffer is allocated for any given input channel; the %n conversion does not count a lookahead character as read. Other libraries: - Dynlink: on some platforms, the Dynlink library is now available in native code. The boolean Dynlink.is_native allows the program to know whether it has been compiled in bytecode or in native code. - Bigarrays: added "unsafe_get" and "unsafe_set" (non-bound-checking versions of "get" and "set"). - Bigarrays: removed limitation "array dimension < 2^31". - Labltk: added support for TK 8.5. - Num: added conversions between big_int and int32, nativeint, int64. More efficient implementation of Num.quo_num and Num.mod_num. - Threads: improved efficiency of mutex and condition variable operations; improved interaction with Unix.fork (PR#4577). - Unix: added getsockopt_error returning type Unix.error. Added support for TCP_NODELAY and IPV6_ONLY socket options. - Win32 Unix: "select" now supports all kinds of file descriptors. Improved emulation of "lockf" (PR#4609). Tools: - ocamldebug now supported under Windows (MSVC and Mingw ports), but without the replay feature. (Contributed by Dmitry Bely and Sylvain Le Gall at OCamlCore with support from Lexifi.) - ocamldoc: new option -no-module-constraint-filter to include functions hidden by signature constraint in documentation. - ocamlmklib and ocamldep.opt now available under Windows ports. - ocamlmklib no longer supports the -implib option. - ocamlnat: an experimental native toplevel (not built by default). Camlp4: * programs linked with camlp4lib.cma now also need dynlink.cma. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2008/12/22 20:04:07 joerg Exp $ d29 9 @ 1.9 log @Fix PLIST of ocaml-graphics for architectures not using the optimiser. Add amd64 to that list. Bump revision of ocaml-graphics. Make ocaml itself and ocaml-graphics destdir safe. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2008/04/12 22:43:15 jlam Exp $ d6 2 a9 1 PKGREVISION= 3 d43 12 @ 1.8 log @Convert to use PLIST_VARS instead of manually passing "@@comment " through PLIST_SUBST to the plist module. @ text @d1 3 a3 1 # $NetBSD: Makefile,v 1.7 2007/01/30 20:56:13 joerg Exp $ d8 1 a8 1 PKGREVISION= 2 d21 2 a22 2 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") d42 2 @ 1.7 log @Modular Xorg support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2006/02/22 21:00:32 wiz Exp $ d17 2 d23 1 a23 3 PLIST_SUBST+= OPT= .else PLIST_SUBST+= OPT='@@comment ' @ 1.6 log @Add missing file+dir to PLIST. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2006/02/05 23:11:40 joerg Exp $ d44 1 a44 1 .include "../../mk/x11.buildlink3.mk" @ 1.5 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2005/06/01 18:03:30 jlam Exp $ d6 1 a6 1 PKGREVISION= 1 d38 1 a38 4 SUBST_MESSAGE.depend= "Fixing .depend in otherlibs/graph" .include "../../lang/ocaml/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" d43 2 @ 1.4 log @Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. , and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2005/03/24 11:33:24 adam Exp $ d6 1 @ 1.3 log @Changes 3.08.3: New features: - support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320) - ignore unknown warning options for forward and backward compatibility - runtime: export caml_compare_unordered (PR#3479) - camlp4: install argl.* files (PR#3439) - ocamldoc: add -man-section option - labltk: add the "solid" relief option (PR#3343) - compiler: ocamlc -i now prints variance annotations Bug fixes: - typing: fix unsoundness in type declaration variance inference. Type parameters which are constrained must now have an explicit variant annotation, otherwise they are invariant. This is not backward compatible, so this might break code which either uses subtyping or uses the relaxed value restriction (i.e. was not typable before 3.07) - typing: erroneous partial match warning for polymorphic variants (PR#3424) - runtime: handle the case of an empty command line (PR#3409, PR#3444) - stdlib: make Sys.executable_name an absolute path in native code (PR#3303) - runtime: fix memory leak in finalise.c - runtime: auto-trigger compaction even if gc is called manually (PR#3392) - stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406) - camlp4: correct parsing of the $ identifier (PR#3310, PR#3469) - windows (MS tools): use link /lib instead of lib (PR#3333) - windows (MS tools): change default install destination - autoconf: better checking of SSE2 instructions (PR#3329, PR#3330) - graphics: make close_graph close the X display as well as the window (PR#3312) - num: fix big_int_of_string (empty string) (PR#3483) - num: fix big bug on 64-bit architecture (PR#3299) - str: better documentation of string_match and string_partial_match (PR#3395) - unix: fix file descriptor leak in Unix.accept (PR#3423) - unix: miscellaneous clean-ups - unix: fix documentation of Unix.tm (PR#3341) - graphics: fix problem when allocating lots of images under Windows (PR#3433) - compiler: fix error message with -pack when .cmi is missing (PR#3028) - cygwin: fix problem with compilation of camlheader (PR#3485) - stdlib: Filename.basename doesn't return an empty string any more (PR#3451) - stdlib: better documentation of Open_excl flag (PR#3450) - ocamlcp: accept -thread option (PR#3511) - ocamldep: handle spaces in file names (PR#3370) - compiler: remove spurious warning in pattern-matching on variants (PR#3424) - windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2005/02/04 22:38:59 adrianp Exp $ a8 1 USE_X11= yes d40 1 @ 1.2 log @- Update of ocaml-graphics from 3.06 to 3.08.2 - Lots of changes/bugfixes - see Changes for all the details @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $ a9 1 d34 6 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d27 6 d36 4 @ 1.1.1.1 log @Initial import of ocaml-graphics, version 3.06: This package provides the graphics library that comes with the ocaml compiler. @ text @@