From owner-svn-ports-all@freebsd.org Fri Mar 15 16:50:55 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 301D91526500; Fri, 15 Mar 2019 16:50:55 +0000 (UTC) (envelope-from yuri@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C149C706CA; Fri, 15 Mar 2019 16:50:54 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B384DCEC5; Fri, 15 Mar 2019 16:50:54 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2FGosbB039224; Fri, 15 Mar 2019 16:50:54 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2FGosHQ039222; Fri, 15 Mar 2019 16:50:54 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201903151650.x2FGosHQ039222@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 15 Mar 2019 16:50:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495797 - in head/lang/mujs: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/lang/mujs: . files X-SVN-Commit-Revision: 495797 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C149C706CA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2019 16:50:55 -0000 Author: yuri Date: Fri Mar 15 16:50:53 2019 New Revision: 495797 URL: https://svnweb.freebsd.org/changeset/ports/495797 Log: lang/mujs: Update 1.0.5-10 -> 1.0.5-21 Port changes: * Add the pull request patch enabling readline in FreeBSD * WITH_DEBUG triggers build=debug - the project manages its build options itself * Rm the post-install patch - the .pc issue has been fixed * Add FreeBSD-related patches eliminating build warnings, build using -O3 instead of -Os Added: head/lang/mujs/files/ head/lang/mujs/files/patch-Makefile (contents, props changed) Modified: head/lang/mujs/Makefile head/lang/mujs/distinfo Modified: head/lang/mujs/Makefile ============================================================================== --- head/lang/mujs/Makefile Fri Mar 15 16:42:31 2019 (r495796) +++ head/lang/mujs/Makefile Fri Mar 15 16:50:53 2019 (r495797) @@ -1,29 +1,33 @@ # $FreeBSD$ PORTNAME= mujs -DISTVERSION= 1.0.5-10 -DISTVERSIONSUFFIX= -g9f40dfb +DISTVERSION= 1.0.5-21 +DISTVERSIONSUFFIX= -g269904f CATEGORIES= lang devel +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ +PATCHFILES= d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch:-p1 + MAINTAINER= yuri@FreeBSD.org COMMENT= Embeddable Javascript interpreter in C LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING -USES= compiler:c11 gmake localbase:ldflags readline # c11 is induced by the FreeBSD headers via isnan(3), etc, otherwise the project is all c99 code +USES= compiler:c11 gmake readline # c11 is induced by the FreeBSD headers via isnan(3), etc, otherwise the project is all c99 code USE_GITHUB= yes GH_ACCOUNT= ccxvii USE_LDCONFIG= yes ALL_TARGET= shared INSTALL_TARGET= install-shared +.if defined(WITH_DEBUG) # this project manages its build options itself +MAKE_ARGS= build=debug +.endif + PLIST_FILES= bin/mujs \ include/mujs.h \ lib/libmujs.so \ libdata/pkgconfig/mujs.pc - -post-install: # https://github.com/ccxvii/mujs/issues/83 - @${REINPLACE_CMD} -i '' 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/libdata/pkgconfig/mujs.pc .include Modified: head/lang/mujs/distinfo ============================================================================== --- head/lang/mujs/distinfo Fri Mar 15 16:42:31 2019 (r495796) +++ head/lang/mujs/distinfo Fri Mar 15 16:50:53 2019 (r495797) @@ -1,3 +1,5 @@ -TIMESTAMP = 1550977747 -SHA256 (ccxvii-mujs-1.0.5-10-g9f40dfb_GH0.tar.gz) = f4155fca71d62cae48f0eb0a6091889bb67835b1ecbc8c90105470b55d88fe37 -SIZE (ccxvii-mujs-1.0.5-10-g9f40dfb_GH0.tar.gz) = 119479 +TIMESTAMP = 1552667764 +SHA256 (ccxvii-mujs-1.0.5-21-g269904f_GH0.tar.gz) = 6a81cc6a323b8a7595d87d16814160deef5f5c5e6ce7e20cd2720f31514f3422 +SIZE (ccxvii-mujs-1.0.5-21-g269904f_GH0.tar.gz) = 119947 +SHA256 (d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch) = de236ceb1d7df002bf0930ff31f07f58260e0faf780edef72f05d478185cb279 +SIZE (d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch) = 589 Added: head/lang/mujs/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/mujs/files/patch-Makefile Fri Mar 15 16:50:53 2019 (r495797) @@ -0,0 +1,21 @@ +--- Makefile.orig 2019-03-15 16:38:36 UTC ++++ Makefile +@@ -15,7 +15,8 @@ endif + + # Compiler flags for various configurations: + +-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 + + ifeq "$(CC)" "clang" + CFLAGS += -Wunreachable-code +@@ -31,7 +32,7 @@ else ifeq "$(build)" "sanitize" + CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer + LDFLAGS += -fsanitize=address + else +- CFLAGS += -Os ++ CFLAGS += -O3 # use -O3 on FreeBSD instead of -Os because this isn't an embedded platform + LDFLAGS += -Wl,-s + endif +