Skip to content

Commit

Permalink
Update to 2.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanillahsu committed Oct 10, 2017
1 parent f71981c commit 3f38efc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lang/duktape/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= duktape
PORTVERSION= 2.0.1
PORTVERSION= 2.2.0
CATEGORIES= lang devel
MASTER_SITES= http://duktape.org/

Expand Down
6 changes: 3 additions & 3 deletions lang/duktape/distinfo
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions lang/duktape/files/patch-Makefile.cmdline
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 3f38efc

Please sign in to comment.