Index: head/lang/Makefile =================================================================== --- head/lang/Makefile (revision 512603) +++ head/lang/Makefile (revision 512604) @@ -1,392 +1,393 @@ # $FreeBSD$ # COMMENT = Programming languages SUBDIR += Gofer SUBDIR += J SUBDIR += abcl SUBDIR += adacontrol SUBDIR += afnix SUBDIR += alchemist.el SUBDIR += algol68g SUBDIR += angelscript SUBDIR += arena SUBDIR += asis SUBDIR += asn1c SUBDIR += atlast SUBDIR += awka SUBDIR += bas2tap SUBDIR += basic256 SUBDIR += beignet SUBDIR += bf2c SUBDIR += bsh SUBDIR += bwbasic SUBDIR += c SUBDIR += cbmbasic SUBDIR += ccl SUBDIR += cdent SUBDIR += ceylon SUBDIR += cfortran SUBDIR += chaiscript SUBDIR += chez-scheme SUBDIR += chibi-scheme SUBDIR += chicken SUBDIR += chicken5 SUBDIR += cim SUBDIR += cjs SUBDIR += cling SUBDIR += clips SUBDIR += clisp SUBDIR += clojure SUBDIR += clojure-mode.el SUBDIR += clover SUBDIR += cmucl SUBDIR += cmucl-extra SUBDIR += cocor SUBDIR += coffeescript SUBDIR += cparser SUBDIR += crystal SUBDIR += csharp-mode.el SUBDIR += cython SUBDIR += diveintopython SUBDIR += dlang-tools SUBDIR += dlv SUBDIR += duktape SUBDIR += duktape-lib SUBDIR += ecl SUBDIR += elan SUBDIR += elixir SUBDIR += elixir-mode.el SUBDIR += elk SUBDIR += elm SUBDIR += emacs-lisp-intro SUBDIR += erlang SUBDIR += erlang-doc SUBDIR += erlang-java SUBDIR += erlang-man SUBDIR += erlang-riak SUBDIR += erlang-runtime15 SUBDIR += erlang-runtime16 SUBDIR += erlang-runtime17 SUBDIR += erlang-runtime18 SUBDIR += erlang-runtime19 SUBDIR += erlang-runtime20 SUBDIR += erlang-runtime21 SUBDIR += erlang-runtime22 SUBDIR += erlang-wx SUBDIR += execline SUBDIR += expect SUBDIR += f2c SUBDIR += fasm SUBDIR += ferite SUBDIR += ficl SUBDIR += fpc SUBDIR += fpc-base SUBDIR += fpc-docs SUBDIR += fpc-lua SUBDIR += fpc-rexx SUBDIR += fpc-rtl-console SUBDIR += fpc-rtl-extra SUBDIR += fpc-rtl-objpas SUBDIR += fpc-rtl-unicode SUBDIR += fpc-source SUBDIR += fpc-units SUBDIR += fpc-utils SUBDIR += fsharp SUBDIR += fth SUBDIR += gambit-c SUBDIR += gauche SUBDIR += gawk SUBDIR += gcc SUBDIR += gcc-ecj45 SUBDIR += gcc10-devel SUBDIR += gcc48 SUBDIR += gcc5 SUBDIR += gcc6 SUBDIR += gcc6-aux SUBDIR += gcc7 SUBDIR += gcc7-devel SUBDIR += gcc8 SUBDIR += gcc8-devel SUBDIR += gcc9 SUBDIR += gcc9-devel SUBDIR += gforth SUBDIR += ghc SUBDIR += gjs SUBDIR += gnat_util SUBDIR += gnatcross-aarch64 SUBDIR += gnatcross-binutils-aarch64 SUBDIR += gnatcross-sysroot-aarch64 SUBDIR += gnatdroid-armv7 SUBDIR += gnatdroid-binutils SUBDIR += gnatdroid-binutils-x86 SUBDIR += gnatdroid-sysroot SUBDIR += gnatdroid-sysroot-x86 SUBDIR += gnatdroid-x86 SUBDIR += gnu-apl SUBDIR += gnu-cobol SUBDIR += gnustep-base SUBDIR += go SUBDIR += go-devel SUBDIR += go14 SUBDIR += gomacro SUBDIR += gravity SUBDIR += groovy SUBDIR += gscheme SUBDIR += guile SUBDIR += guile2 SUBDIR += harbour SUBDIR += haskell-mode.el SUBDIR += hla SUBDIR += hope SUBDIR += hs-brainfuck SUBDIR += hs-unlambda SUBDIR += huc SUBDIR += hugs SUBDIR += icc SUBDIR += ici SUBDIR += icon SUBDIR += intercal SUBDIR += io SUBDIR += io-devel SUBDIR += itcl SUBDIR += itcl4 SUBDIR += jakarta-commons-jelly SUBDIR += janet SUBDIR += jimtcl SUBDIR += jruby SUBDIR += js_of_ocaml SUBDIR += julia SUBDIR += julia06 SUBDIR += julia07 SUBDIR += julia10 SUBDIR += julia11 SUBDIR += jython SUBDIR += kawa SUBDIR += kf5-kross SUBDIR += kotlin SUBDIR += kross-interpreters SUBDIR += kturtle SUBDIR += lafontaine SUBDIR += lci SUBDIR += ldc SUBDIR += lfe SUBDIR += libhx SUBDIR += libobjc2 SUBDIR += librep SUBDIR += libstdc++_stldoc_4.2.2 SUBDIR += linux-c6-tcl85 SUBDIR += linux-c7-tcl85 SUBDIR += linux-dotnet-cli SUBDIR += linux-dotnet-runtime SUBDIR += linux-dotnet-sdk SUBDIR += linux-dotnet10-runtime SUBDIR += linux-dotnet11-runtime SUBDIR += linux-dotnet11-sdk SUBDIR += linux-j SUBDIR += lua-ada SUBDIR += lua51 SUBDIR += lua52 SUBDIR += lua53 SUBDIR += luajit SUBDIR += luajit-openresty SUBDIR += malbolge SUBDIR += maude SUBDIR += mawk SUBDIR += mdk SUBDIR += micropython SUBDIR += mit-scheme SUBDIR += mixal SUBDIR += mlton SUBDIR += mmix SUBDIR += modula3 SUBDIR += mono SUBDIR += mono-basic SUBDIR += mosh SUBDIR += mosml SUBDIR += mtasc SUBDIR += mujs SUBDIR += munger SUBDIR += myrddin SUBDIR += nawk SUBDIR += nbc SUBDIR += nbfc SUBDIR += neko SUBDIR += nesasm SUBDIR += newlisp SUBDIR += newlisp-devel SUBDIR += nhc98 SUBDIR += nickle SUBDIR += nim SUBDIR += nml SUBDIR += nqc SUBDIR += nwcc SUBDIR += nx SUBDIR += nyan SUBDIR += ocaml SUBDIR += ocaml-autoconf SUBDIR += ocaml-camlidl SUBDIR += ocaml-nox11 SUBDIR += ohugs SUBDIR += onyx SUBDIR += oo2c SUBDIR += opencoarrays SUBDIR += opendylan SUBDIR += ott SUBDIR += owl-lisp SUBDIR += p2c SUBDIR += p5-Data-JavaScript SUBDIR += p5-Error SUBDIR += p5-Expect SUBDIR += p5-ExtUtils-F77 SUBDIR += p5-Interpolation SUBDIR += p5-JSAN SUBDIR += p5-JavaScript-SpiderMonkey SUBDIR += p5-JavaScript-Squish SUBDIR += p5-JavaScript-Value-Escape SUBDIR += p5-List-MoreUtils SUBDIR += p5-List-MoreUtils-XS SUBDIR += p5-Marpa SUBDIR += p5-Marpa-PP SUBDIR += p5-Marpa-XS SUBDIR += p5-Modern-Perl SUBDIR += p5-Perl6-Subs SUBDIR += p5-Promises SUBDIR += p5-Pugs-Compiler-Rule SUBDIR += p5-Quantum-Superpositions SUBDIR += p5-Scalar-List-Utils SUBDIR += p5-Switch SUBDIR += p5-Tcl SUBDIR += p5-Test-XPath SUBDIR += p5-Try-Catch SUBDIR += p5-Try-Tiny SUBDIR += p5-Try-Tiny-Retry SUBDIR += p5-TryCatch SUBDIR += p5-ePerl SUBDIR += p5-signatures SUBDIR += p5-v6 SUBDIR += parrot SUBDIR += pbasic SUBDIR += pcc SUBDIR += perl5-devel SUBDIR += perl5.26 SUBDIR += perl5.28 SUBDIR += perl5.30 SUBDIR += petite-chez SUBDIR += pfe SUBDIR += phantomjs SUBDIR += pharo SUBDIR += phc SUBDIR += php-mode.el SUBDIR += php71 SUBDIR += php71-extensions SUBDIR += php72 SUBDIR += php72-extensions SUBDIR += php73 SUBDIR += php73-extensions SUBDIR += php74 SUBDIR += php74-extensions SUBDIR += picoc SUBDIR += plexil SUBDIR += pocl SUBDIR += polyml SUBDIR += ponyc SUBDIR += ptoc SUBDIR += py-hy SUBDIR += py-mx-base SUBDIR += py-prolog SUBDIR += py-qt5-qml SUBDIR += pypy SUBDIR += pypy3 SUBDIR += python SUBDIR += python-doc-html SUBDIR += python-doc-pdf-a4 SUBDIR += python-doc-pdf-letter SUBDIR += python-doc-text SUBDIR += python-mode.el SUBDIR += python-tools SUBDIR += python2 SUBDIR += python27 SUBDIR += python3 SUBDIR += python35 SUBDIR += python36 SUBDIR += python37 SUBDIR += qmasm SUBDIR += qscheme SUBDIR += quack + SUBDIR += quickjs SUBDIR += racket SUBDIR += racket-minimal SUBDIR += ratfor SUBDIR += referenceassemblies-pcl SUBDIR += retro12 SUBDIR += rexx-imc SUBDIR += rexx-regina SUBDIR += rexx-regutil SUBDIR += rexx-wrapper SUBDIR += rhino SUBDIR += rubinius SUBDIR += ruby24 SUBDIR += ruby25 SUBDIR += ruby26 SUBDIR += runawk SUBDIR += rust SUBDIR += rust-nightly SUBDIR += sagittarius-scheme SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl SUBDIR += scala SUBDIR += scala-docs SUBDIR += scheme48 SUBDIR += scm SUBDIR += sdcc SUBDIR += see SUBDIR += seed7 SUBDIR += siod SUBDIR += sisc SUBDIR += sketchy SUBDIR += slib SUBDIR += slib-guile SUBDIR += slib-guile2 SUBDIR += slisp SUBDIR += smalltalk SUBDIR += smlnj SUBDIR += snobol4 SUBDIR += solidity SUBDIR += spidermonkey17 SUBDIR += spidermonkey185 SUBDIR += spidermonkey24 SUBDIR += spidermonkey52 SUBDIR += spl SUBDIR += squeak SUBDIR += squirrel SUBDIR += starlogo SUBDIR += stldoc SUBDIR += swi-pl SUBDIR += tcbasic SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl-wrapper SUBDIR += tcl85 SUBDIR += tcl86 SUBDIR += tcl87 SUBDIR += tclX SUBDIR += tinypy SUBDIR += tolua SUBDIR += tolua++ SUBDIR += tuareg-mode.el SUBDIR += twelf SUBDIR += ucc SUBDIR += urweb SUBDIR += v8 SUBDIR += vala SUBDIR += visualworks SUBDIR += yabasic SUBDIR += yap SUBDIR += yap-devel SUBDIR += yorick SUBDIR += ypsilon SUBDIR += zig .include Index: head/lang/quickjs/Makefile =================================================================== --- head/lang/quickjs/Makefile (nonexistent) +++ head/lang/quickjs/Makefile (revision 512604) @@ -0,0 +1,16 @@ +# $FreeBSD$ + +PORTNAME= quickjs +DISTVERSION= 2019.09.18 +CATEGORIES= lang devel +MASTER_SITES= https://bellard.org/${PORTNAME}/ +DISTNAME= ${PORTNAME}-${DISTVERSION:S/./-/g} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Embeddable Javascript interpreter in C + +LICENSE= MIT + +USES= gmake tar:xz + +.include Property changes on: head/lang/quickjs/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/distinfo =================================================================== --- head/lang/quickjs/distinfo (nonexistent) +++ head/lang/quickjs/distinfo (revision 512604) @@ -0,0 +1,3 @@ +TIMESTAMP = 1569184657 +SHA256 (quickjs-2019-09-18.tar.xz) = ae4395d3f45045f920069e6c203ddb3fc3e549ce8fa3c429e696880cff010575 +SIZE (quickjs-2019-09-18.tar.xz) = 761448 Property changes on: head/lang/quickjs/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/files/patch-Makefile =================================================================== --- head/lang/quickjs/files/patch-Makefile (nonexistent) +++ head/lang/quickjs/files/patch-Makefile (revision 512604) @@ -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=y + endif ++ifeq ($(shell uname -s),FreeBSD) ++CONFIG_FREEBSD=y ++endif + # Windows cross compilation from Linux + #CONFIG_WIN32=y + # 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=y + CONFIG_DEFAULT_AR=y ++endif ++ifdef CONFIG_FREEBSD ++# use clang instead of gcc ++CONFIG_CLANG=y ++CONFIG_DEFAULT_AR=y ++CONFIG_LTO= + endif + + # installation directory Property changes on: head/lang/quickjs/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/files/patch-qjs.c =================================================================== --- head/lang/quickjs/files/patch-qjs.c (nonexistent) +++ head/lang/quickjs/files/patch-qjs.c (revision 512604) @@ -0,0 +1,20 @@ +--- qjs.c.orig 2019-09-18 18:34:20 UTC ++++ qjs.c +@@ -130,7 +130,7 @@ static inline size_t js_trace_malloc_usable_size(void + return malloc_usable_size(ptr); + #else + /* change this to `return 0;` if compilation fails */ +- return malloc_usable_size(ptr); ++ return 0; //return malloc_usable_size(ptr); + #endif + } + +@@ -246,7 +246,7 @@ static const JSMallocFunctions trace_mf = { + (size_t (*)(const void *))malloc_usable_size, + #else + /* change this to `NULL,` if compilation fails */ +- malloc_usable_size, ++ NULL, //malloc_usable_size, + #endif + }; + Property changes on: head/lang/quickjs/files/patch-qjs.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/files/patch-quickjs-libc.c =================================================================== --- head/lang/quickjs/files/patch-quickjs-libc.c (nonexistent) +++ head/lang/quickjs/files/patch-quickjs-libc.c (revision 512604) @@ -0,0 +1,11 @@ +--- quickjs-libc.c.orig 2019-09-18 18:34:20 UTC ++++ quickjs-libc.c +@@ -45,7 +45,7 @@ + #include + #include + #include +-#if defined(__APPLE__) ++#if defined(__APPLE__) || defined(__FreeBSD__) + typedef sig_t sighandler_t; + #endif + #endif Property changes on: head/lang/quickjs/files/patch-quickjs-libc.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/files/patch-quickjs.c =================================================================== --- head/lang/quickjs/files/patch-quickjs.c (nonexistent) +++ head/lang/quickjs/files/patch-quickjs.c (revision 512604) @@ -0,0 +1,11 @@ +--- quickjs.c.orig 2019-09-18 18:34:20 UTC ++++ quickjs.c +@@ -1423,7 +1423,7 @@ static const JSMallocFunctions def_malloc_funcs = { + (size_t (*)(const void *))malloc_usable_size, + #else + /* change this to `NULL,` if compilation fails */ +- malloc_usable_size, ++ NULL, //malloc_usable_size, + #endif + }; + Property changes on: head/lang/quickjs/files/patch-quickjs.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/pkg-descr =================================================================== --- head/lang/quickjs/pkg-descr (nonexistent) +++ head/lang/quickjs/pkg-descr (revision 512604) @@ -0,0 +1,7 @@ +QuickJS is a small and embeddable Javascript engine. It supports the ES2020 +specification including modules, asynchronous generators and proxies. + +It optionally supports mathematical extensions such as big integers (BigInt), +big floating point numbers (BigFloat) and operator overloading. + +WWW: https://bellard.org/quickjs/ Property changes on: head/lang/quickjs/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/quickjs/pkg-plist =================================================================== --- head/lang/quickjs/pkg-plist (nonexistent) +++ head/lang/quickjs/pkg-plist (revision 512604) @@ -0,0 +1,9 @@ +bin/qjs +bin/qjsbn +bin/qjsbnc +bin/qjsc +bin/qjscalc +include/quickjs/quickjs-libc.h +include/quickjs/quickjs.h +lib/quickjs/libquickjs.a +lib/quickjs/libquickjs.bn.a Property changes on: head/lang/quickjs/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property