From owner-svn-ports-head@freebsd.org Wed Oct 2 20:04:00 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46F8B1383CD; Wed, 2 Oct 2019 20:04:00 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46k6Xc1BbSz3xPm; Wed, 2 Oct 2019 20:04:00 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id D89C3DF24; Wed, 2 Oct 2019 20:03:59 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 92775BE092; Wed, 2 Oct 2019 22:03:57 +0200 (CEST) Date: Wed, 2 Oct 2019 22:03:57 +0200 From: Baptiste Daroussin To: Yuri Victorovich 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> References: <201909222058.x8MKwCpC002840@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n25f3vonwtf7ilpc" Content-Disposition: inline In-Reply-To: <201909222058.x8MKwCpC002840@repo.freebsd.org> User-Agent: NeoMutt/20180716 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2019 20:04:00 -0000 --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 >=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--