From nobody Wed Mar 22 03:37:22 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PhDgQ6MpQz41D0R; Wed, 22 Mar 2023 03:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhDgQ5zqwz3jDL; Wed, 22 Mar 2023 03:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679456242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xiB/e2roey33CgC5Y7hIhvUxC3ERCBMh0cA2W9Mnyvk=; b=DiXSnbPN8aYJoHMoQ5kyn9Zo+zzm0VHqzn0v8knLvrxHuoddJJkk90vlBrsXXUHxy/cTp1 0DBGL4E3dploFUAmIMjn3mC/AGwYS6lqnQFhQ8pZi8qeXlNm9XtNgEvnPgZDqknwk7kFkV 35lUz42TvrKLHNyUQXzsveP49XK6UNQGV+YremCvGDDIcTyLeWoB3nqsMIWfkyhFewxqxo ls70W70MEDzQS+4UqUuegTQb6PfQ4Wt4zNS8ebEpIyZEsKwIVedX2uirVGwpnLAujqzekq pfs+hbtvSndIIRi3NBzesbbbLqSASEeS8QMfM5t5Qa3y/SBv9+ruQCHusW5m1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679456242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xiB/e2roey33CgC5Y7hIhvUxC3ERCBMh0cA2W9Mnyvk=; b=NzM3bU1tmuNsEcUak2GDVqFB0B3hE/B4uqir2cufJ42fA6mFpS89jit1pQkLjvCormrd+v Rx1RnYjkLsNaF+h9/Vi0Cml2SkgX6k0+4ox+oOOHD+SU7wD4Awv9vtbF9dv9BHoPXmBNtu wnDFQEhq/Rd6T4QptvPCTZJYOLg2QFGVIrYdGAKJ2U+WrzYBvBRLM9YbShkAIbzuyfd/b1 f5DnFSkLhJ3+5Z1WqcE22YpLNNFnp+3TJUHjPmzaxx65ixopk70VgbwOtqBBDHULfdK4fB m6pdEwrEBj2wtBqvFxVtQENtd6SwtUs99Y6vv/E/1Yv/Q7jhk2J0MYmipqg+Cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679456242; a=rsa-sha256; cv=none; b=OGkvZC3Qnd1kQlSL6chQkblYrxvwpyfts/Df1iPeSsxcgf1f4j/9Q+oEhKVGV8FcdNw9Kt Ben7rS3wu6of7r190/I+fyHLGBnV2zcXV1ZzZLQc/zsIVao0grs1vrXxizcK/Q2qKWce9J j14YFJ3vXV5eQ3poKj31q2FkfBu9iL61YM78orRnQzGnSAx45YkMfR/N1eQtmTjgYIbP5z UVy/+bS8eUCGVIBf2MvvEWUghYnx6a1Mix0YtEb5NPeSWzfJ16dn0WKLYgbZUJYB18cuX0 ZkVao7YG5fNZpVcmjvf76+MGbeaDn+QT5p4Y+kp5B7t9K1K090PIDGSM5IjlXQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PhDgQ55PLzf61; Wed, 22 Mar 2023 03:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32M3bMAO045346; Wed, 22 Mar 2023 03:37:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32M3bMH9045345; Wed, 22 Mar 2023 03:37:22 GMT (envelope-from git) Date: Wed, 22 Mar 2023 03:37:22 GMT Message-Id: <202303220337.32M3bMH9045345@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 84ef7bd8cf50 - main - =?utf-8?Q?lang/mujs:=20Update=201.3.2=20=E2=86=92=201.3.3?= List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 84ef7bd8cf5068bd91a9b5ee9576d5df67de7af2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=84ef7bd8cf5068bd91a9b5ee9576d5df67de7af2 commit 84ef7bd8cf5068bd91a9b5ee9576d5df67de7af2 Author: Yuri Victorovich AuthorDate: 2023-03-22 02:08:44 +0000 Commit: Yuri Victorovich CommitDate: 2023-03-22 03:37:16 +0000 lang/mujs: Update 1.3.2 → 1.3.3 Reported by: portscout --- lang/mujs/Makefile | 14 +++++++++++--- lang/mujs/distinfo | 6 +++--- lang/mujs/files/patch-Makefile | 32 ++++++-------------------------- 3 files changed, 20 insertions(+), 32 deletions(-) diff --git a/lang/mujs/Makefile b/lang/mujs/Makefile index 7d01a552d23f..df024e4ab89b 100644 --- a/lang/mujs/Makefile +++ b/lang/mujs/Makefile @@ -1,5 +1,5 @@ PORTNAME= mujs -DISTVERSION= 1.3.2 +DISTVERSION= 1.3.3 CATEGORIES= lang devel MAINTAINER= yuri@FreeBSD.org @@ -18,8 +18,9 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ccxvii -ALL_TARGET= shared static - +ALL_TARGET= build/release/mujs \ + build/release/libmujs.so \ + build/release/libmujs.a INSTALL_TARGET= install-shared install-static .if defined(WITH_DEBUG) # this project manages its build options itself @@ -27,6 +28,7 @@ MAKE_ARGS= build=debug .endif PLIST_FILES= bin/mujs \ + bin/mujs-pp \ include/mujs.h \ lib/libmujs.so \ lib/libmujs.a \ @@ -41,6 +43,12 @@ OPTIONS_DEFAULT= 32BIT SANITIZED_DESC= Sanitized build (only for debugging) SANITIZED_MAKE_ARGS= build=sanitize +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}/bin/mujs \ + ${STAGEDIR}${PREFIX}/bin/mujs-pp \ + ${STAGEDIR}${PREFIX}/lib/libmujs.so + do-test: # Test-262 JavaScript testsuite is downloaded and run. # Something is off with the test harness so too many tests fail: https://github.com/ccxvii/mujs/issues/147 ${RM} -r ${WRKDIR}/testing && \ diff --git a/lang/mujs/distinfo b/lang/mujs/distinfo index 820297f92ee4..1e89b59a1c55 100644 --- a/lang/mujs/distinfo +++ b/lang/mujs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667896146 -SHA256 (ccxvii-mujs-1.3.2_GH0.tar.gz) = 59763cc32776714b4f00a0efede83f4f56b381c9dbaced4756d665c214249dca -SIZE (ccxvii-mujs-1.3.2_GH0.tar.gz) = 127899 +TIMESTAMP = 1679443995 +SHA256 (ccxvii-mujs-1.3.3_GH0.tar.gz) = e2c5ee5416dfda2230c7a0cb7895df9a9b2d5b2065bb18e7e64dec2a796abe1b +SIZE (ccxvii-mujs-1.3.3_GH0.tar.gz) = 128097 diff --git a/lang/mujs/files/patch-Makefile b/lang/mujs/files/patch-Makefile index d0e471837710..4a93632fa784 100644 --- a/lang/mujs/files/patch-Makefile +++ b/lang/mujs/files/patch-Makefile @@ -2,35 +2,15 @@ Patch contains 2 changes: - enable readline on FreeBSD (upstream never accepted this PR) - use -O3 on FreeBSD ---- Makefile.orig 2021-04-13 02:22:04 UTC +--- Makefile.orig 2023-01-10 11:11:11 UTC +++ Makefile -@@ -17,7 +17,8 @@ endif +@@ -4,7 +4,8 @@ - # Compiler flags for various configurations: + default: build/debug/mujs build/debug/mujs-pp --CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter +-CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter +# change to c11 on FreeBSD because FreeBSD headers induce c11 through isnan(3), etc. -+CFLAGS := -std=c11 -pedantic -Wall -Wextra -Wno-unused-parameter ++CFLAGS = -std=c11 -pedantic -Wall -Wextra -Wno-unused-parameter - ifeq "$(CC)" "clang" - CFLAGS += -Wunreachable-code -@@ -27,13 +28,18 @@ ifeq "$(shell uname)" "Linux" - HAVE_READLINE := yes - endif - -+ifeq "$(shell uname)" "FreeBSD" -+ HAVE_READLINE := yes -+ CFLAGS += -I$(prefix)/include -+endif -+ - ifeq "$(build)" "debug" - CFLAGS += -g - else ifeq "$(build)" "sanitize" - CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer - LDFLAGS += -fsanitize=address - else ifeq "$(build)" "release" -- CFLAGS += -O2 -+ CFLAGS += -O3 - LDFLAGS += -Wl,-s - endif + OPTIM = -O3