Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2019 22:03:57 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Yuri Victorovich <yuri@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r512604 - in head/lang: . quickjs quickjs/files
Message-ID:  <20191002200357.c3bp5fvm2d4m6aob@ivaldir.net>
In-Reply-To: <201909222058.x8MKwCpC002840@repo.freebsd.org>
References:  <201909222058.x8MKwCpC002840@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--n25f3vonwtf7ilpc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 22, 2019 at 08:58:12PM +0000, Yuri Victorovich wrote:
> Author: yuri
> Date: Sun Sep 22 20:58:12 2019
> New Revision: 512604
> URL: https://svnweb.freebsd.org/changeset/ports/512604
>=20
> Log:
>   New port: lang/quickjs: Embeddable Javascript interpreter in C
>=20
> Added:
>   head/lang/quickjs/
>   head/lang/quickjs/Makefile   (contents, props changed)
>   head/lang/quickjs/distinfo   (contents, props changed)
>   head/lang/quickjs/files/
>   head/lang/quickjs/files/patch-Makefile   (contents, props changed)
>   head/lang/quickjs/files/patch-qjs.c   (contents, props changed)
>   head/lang/quickjs/files/patch-quickjs-libc.c   (contents, props changed)
>   head/lang/quickjs/files/patch-quickjs.c   (contents, props changed)
>   head/lang/quickjs/pkg-descr   (contents, props changed)
>   head/lang/quickjs/pkg-plist   (contents, props changed)
> Modified:
>   head/lang/Makefile
>=20
> Modified: head/lang/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/lang/Makefile	Sun Sep 22 20:58:11 2019	(r512603)
> +++ head/lang/Makefile	Sun Sep 22 20:58:12 2019	(r512604)
> @@ -315,6 +315,7 @@
>      SUBDIR +=3D qmasm
>      SUBDIR +=3D qscheme
>      SUBDIR +=3D quack
> +    SUBDIR +=3D quickjs
>      SUBDIR +=3D racket
>      SUBDIR +=3D racket-minimal
>      SUBDIR +=3D ratfor
>=20
> Added: head/lang/quickjs/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/lang/quickjs/Makefile	Sun Sep 22 20:58:12 2019	(r512604)
> @@ -0,0 +1,16 @@
> +# $FreeBSD$
> +
> +PORTNAME=3D	quickjs
> +DISTVERSION=3D	2019.09.18
> +CATEGORIES=3D	lang devel
> +MASTER_SITES=3D	https://bellard.org/${PORTNAME}/
> +DISTNAME=3D	${PORTNAME}-${DISTVERSION:S/./-/g}
> +
> +MAINTAINER=3D	yuri@FreeBSD.org
> +COMMENT=3D	Embeddable Javascript interpreter in C
> +
> +LICENSE=3D	MIT
> +
> +USES=3D		gmake tar:xz
> +
> +.include <bsd.port.mk>
>=20
> Added: head/lang/quickjs/distinfo
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/lang/quickjs/distinfo	Sun Sep 22 20:58:12 2019	(r512604)
> @@ -0,0 +1,3 @@
> +TIMESTAMP =3D 1569184657
> +SHA256 (quickjs-2019-09-18.tar.xz) =3D ae4395d3f45045f920069e6c203ddb3fc=
3e549ce8fa3c429e696880cff010575
> +SIZE (quickjs-2019-09-18.tar.xz) =3D 761448
>=20
> Added: head/lang/quickjs/files/patch-Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/lang/quickjs/files/patch-Makefile	Sun Sep 22 20:58:12 2019	(r512=
604)
> @@ -0,0 +1,25 @@
> +--- Makefile.orig	2019-09-18 18:34:20 UTC
> ++++ Makefile
> +@@ -25,6 +25,9 @@
> + ifeq ($(shell uname -s),Darwin)
> + CONFIG_DARWIN=3Dy
> + endif
> ++ifeq ($(shell uname -s),FreeBSD)
> ++CONFIG_FREEBSD=3Dy
> ++endif
> + # Windows cross compilation from Linux
> + #CONFIG_WIN32=3Dy
> + # use link time optimization (smaller and faster executables but slower=
 build)
> +@@ -38,6 +41,12 @@ ifdef CONFIG_DARWIN
> + # use clang instead of gcc
> + CONFIG_CLANG=3Dy
> + CONFIG_DEFAULT_AR=3Dy
> ++endif
> ++ifdef CONFIG_FREEBSD
> ++# use clang instead of gcc
> ++CONFIG_CLANG=3Dy
> ++CONFIG_DEFAULT_AR=3Dy
> ++CONFIG_LTO=3D
> + endif

This is broken! this should be detected and provided by the ports tree.
This does not work on non clang architecture for one, or if someone defines
CC=3D"something else not clang" in make.conf which is perfectly supported.

Regards,
Bapt

--n25f3vonwtf7ilpc
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl2VAqgACgkQY4mL3PG3
PloNvw//X8LxoghpqE2fvLZ7Nvm5bVYB3a5bD3NXBOnXzTumUElL2CziBGCBYsGp
jUmb6nMP+KxDN/zNtXnuldbV0naMzA+HYxhYDXfBXgXQ2IiGWbHChdQv6WOSCdU/
sOXwVc/Dz6FgHru3z28xxmZ0Rx/B7UfT4UM0c3a8TdK1pO64eoICtz65mSTxUhNy
r2+h0QEhi65R26uUgjpJfEdb0sCZj27Ijiiczq+crXaKTVQjEdDbGTmqWknMGXMk
lXCgFQ5oRdquT1ANLhGjFxk+Gq3t9qdLdxDGuATAoDoQfh5X3DUKW1N2hue4zxoJ
wBHDpYzSJ7/JwniHRUH03BEyTsH7HTGRy6501W8QpnG6uPOshR+tCvwW964gYlOG
kTykk0bpTW1Ef9vwnEQMrLvKhK+B/m9oJqzt/3VaSQ5OjbXJU/UOBfj3Y/CotUTb
TnHqCkT217wlVNoGHmfLZqYJz/5s7lfAYpsgBgoUKDLnpghJUYq03jmbnTwitVG7
ZAVOv3kWuVXPB24ZdtLaXflvY8FRawK1yq9oFHdnwTGUOgPER1MYOvMPFn/Cx8Bb
kgXLj8fM48wOmFkxbF7DOknKGg59V4oBATJq9HrbmaKHISPGco5+89pTvjhbsl9T
yuQneMoxHbe8NgzwinQFIj05SafVhRYx7hXqJ5IZF99cqH7EJks=
=IHRO
-----END PGP SIGNATURE-----

--n25f3vonwtf7ilpc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191002200357.c3bp5fvm2d4m6aob>