aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2016-05-19 04:16:51 +0800
committerolivierd <olivierd@FreeBSD.org>2016-05-19 04:16:51 +0800
commit433692a7605a7b7d22ab0d5abe58f7769d3b2383 (patch)
tree66a489fa8de7464ecc5ce44841d78922ecbe6454 /lang
parent9b4fb305a5c39766f7ec3acb115d046bea2733a1 (diff)
downloadfreebsd-ports-gnome-433692a7605a7b7d22ab0d5abe58f7769d3b2383.tar.gz
freebsd-ports-gnome-433692a7605a7b7d22ab0d5abe58f7769d3b2383.tar.zst
freebsd-ports-gnome-433692a7605a7b7d22ab0d5abe58f7769d3b2383.zip
Update to 1.5.0
Changes: http://duktape.org/download.html#id33
Diffstat (limited to 'lang')
-rw-r--r--lang/duktape/Makefile2
-rw-r--r--lang/duktape/distinfo5
-rw-r--r--lang/duktape/files/patch-Makefile.cmdline17
3 files changed, 8 insertions, 16 deletions
diff --git a/lang/duktape/Makefile b/lang/duktape/Makefile
index 1d46815b4116..ec3ed1b77178 100644
--- a/lang/duktape/Makefile
+++ b/lang/duktape/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= duktape
-PORTVERSION= 1.4.1
+PORTVERSION= 1.5.0
CATEGORIES= lang devel
MASTER_SITES= http://duktape.org/
diff --git a/lang/duktape/distinfo b/lang/duktape/distinfo
index aada79b5f444..95c66401b2c7 100644
--- a/lang/duktape/distinfo
+++ b/lang/duktape/distinfo
@@ -1,2 +1,3 @@
-SHA256 (duktape-1.4.1.tar.xz) = a4f25f83fdfa9778847abe0628ffed1dc88d2cd2dfcfe0a425048b36449c5089
-SIZE (duktape-1.4.1.tar.xz) = 698848
+TIMESTAMP = 1463550145
+SHA256 (duktape-1.5.0.tar.xz) = 7ed8838eb33b8a11433241c990bf9aa9803b7f4a1618eaf8fdb4c3a884e93ec0
+SIZE (duktape-1.5.0.tar.xz) = 708528
diff --git a/lang/duktape/files/patch-Makefile.cmdline b/lang/duktape/files/patch-Makefile.cmdline
index 6a4d004985d0..6782b4055d87 100644
--- a/lang/duktape/files/patch-Makefile.cmdline
+++ b/lang/duktape/files/patch-Makefile.cmdline
@@ -1,6 +1,6 @@
---- Makefile.cmdline.orig 2016-01-10 01:18:06 UTC
+--- Makefile.cmdline.orig 2016-05-03 11:57:37 UTC
+++ Makefile.cmdline
-@@ -8,16 +8,16 @@ DUKTAPE_SOURCES = src/duktape.c
+@@ -8,9 +8,9 @@ DUKTAPE_SOURCES = src/duktape.c
DUKTAPE_CMDLINE_SOURCES = \
examples/cmdline/duk_cmdline.c
@@ -9,16 +9,7 @@
-CCOPTS += -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./src ${CPPFLAGS} # duktape.h and duk_config.h must be in include path
CCLIBS = -lm
- # If you have readline, you may want to enable these. On some platforms
- # -lreadline also requires -lncurses (e.g. RHEL), so it is added by default
- # (you may be able to remove it)
--#CCOPTS += -DDUK_CMDLINE_FANCY
--#CCLIBS += -lreadline
-+CCOPTS += -DDUK_CMDLINE_FANCY
-+CCLIBS += ${LDFLAGS} -ledit
- #CCLIBS += -lncurses
-
- # Optional feature defines, see: http://duktape.org/guide.html#compiling
+ # If you want linenoise, you can enable these. At the moment linenoise