summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/duktape/Makefile2
-rw-r--r--lang/duktape/distinfo6
-rw-r--r--lang/duktape/files/patch-Makefile.cmdline10
3 files changed, 9 insertions, 9 deletions
diff --git a/lang/duktape/Makefile b/lang/duktape/Makefile
index bda67f7ce533..9795edbcb126 100644
--- a/lang/duktape/Makefile
+++ b/lang/duktape/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= duktape
-PORTVERSION= 2.0.1
+PORTVERSION= 2.2.0
CATEGORIES= lang devel
MASTER_SITES= http://duktape.org/
diff --git a/lang/duktape/distinfo b/lang/duktape/distinfo
index 6346bffc9ac8..4837ad4bd57b 100644
--- a/lang/duktape/distinfo
+++ b/lang/duktape/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485511377
-SHA256 (duktape-2.0.1.tar.xz) = 3c09bb0ec2160c50c7a7a4705502674df56c0f710f2e793a8b5b1e236be56b89
-SIZE (duktape-2.0.1.tar.xz) = 970320
+TIMESTAMP = 1507641496
+SHA256 (duktape-2.2.0.tar.xz) = 62f72206427633077cb02e7ccd2599ace4d254db409334593b86d262c0d50c14
+SIZE (duktape-2.2.0.tar.xz) = 969136
diff --git a/lang/duktape/files/patch-Makefile.cmdline b/lang/duktape/files/patch-Makefile.cmdline
index 6782b4055d87..2b9ec10e5d88 100644
--- a/lang/duktape/files/patch-Makefile.cmdline
+++ b/lang/duktape/files/patch-Makefile.cmdline
@@ -1,15 +1,15 @@
---- Makefile.cmdline.orig 2016-05-03 11:57:37 UTC
+--- Makefile.cmdline.orig 2017-09-23 01:06:08 UTC
+++ Makefile.cmdline
@@ -8,9 +8,9 @@ DUKTAPE_SOURCES = src/duktape.c
- DUKTAPE_CMDLINE_SOURCES = \
+ CMDLINE_SOURCES = \
examples/cmdline/duk_cmdline.c
-CC = gcc
-CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
--CCOPTS += -I./src # duktape.h and duk_config.h must be in include path
+-CCOPTS += -I./examples/cmdline -I./src # duktape.h and duk_config.h must be in include path
+CC ?= gcc
+CCOPTS = ${CFLAGS} -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
-+CCOPTS += -I./src ${CPPFLAGS} # duktape.h and duk_config.h must be in include path
++CCOPTS += -I./examples/cmdline -I./src ${CPPFLAGS} # duktape.h and duk_config.h must be in include path
CCLIBS = -lm
- # If you want linenoise, you can enable these. At the moment linenoise
+ # Enable print() and alert() for command line using an optional extra module.