Date: Sat, 3 Dec 2022 12:52:06 GMT From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 54722a297939 - main - databases/ocaml-sqlite3: Drop handling of old versions of GCC Message-ID: <202212031252.2B3Cq6AW034296@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by gerald: URL: https://cgit.FreeBSD.org/ports/commit/?id=54722a29793905e87b4035ffce6e9d700c6e8999 commit 54722a29793905e87b4035ffce6e9d700c6e8999 Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2022-12-03 12:51:33 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2022-12-03 12:51:33 +0000 databases/ocaml-sqlite3: Drop handling of old versions of GCC Remove code catering to GCC 4.2 (as system compiler) which is not necessary any longer: USES=compiler never pulls that in any more. This reverts most of commit 13e037f070e10649d7e2088e60f07abf183eb311 from 2016. --- databases/ocaml-sqlite3/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/databases/ocaml-sqlite3/Makefile b/databases/ocaml-sqlite3/Makefile index eaa5e9e069c2..8d6cf40486cb 100644 --- a/databases/ocaml-sqlite3/Makefile +++ b/databases/ocaml-sqlite3/Makefile @@ -29,15 +29,9 @@ GH_ACCOUNT= mmottl GH_PROJECT= ${PORTNAME}-ocaml USE_GITHUB= yes -.include <bsd.port.pre.mk> - post-patch: @${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /var/null" :: findlib_name,' \ ${WRKSRC}/setup.ml -.if ${COMPILER_TYPE} == gcc & ${COMPILER_VERSION} <= 42 - @${REINPLACE_CMD} -e 's|-Wno-keyword-macro||' ${WRKSRC}/_oasis \ - ${WRKSRC}/myocamlbuild.ml ${WRKSRC}/setup.ml -.endif do-configure: (cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}) @@ -48,4 +42,4 @@ do-build: do-install: (cd ${WRKSRC} && ocaml setup.ml -install) -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212031252.2B3Cq6AW034296>