1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/lang/duktape/files/patch-Makefile.cmdline
Rainer Hurling 5ce2537e57 lang/duktape and lang/duktape-lib: Update to 2.6.0
- Use CC and CFLAGS from ports framework
- Don't install debug library
- Bump PORTREVISION of www/edbrowse (has lang/duktape-lib as dependency)

Changelog: https://github.com/svaarala/duktape/blob/master/releases/releases.yaml

PR:		250358, 250359
Submitted by:	Daniel Engberg <daniel.engberg.lists@pyret.net>
Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D26881
2020-10-21 10:26:21 +00:00

13 lines
449 B
Plaintext

--- Makefile.cmdline.orig 2020-10-12 22:23:10 UTC
+++ Makefile.cmdline
@@ -8,8 +8,7 @@ DUKTAPE_SOURCES = src/duktape.c
CMDLINE_SOURCES = \
examples/cmdline/duk_cmdline.c
-CC = gcc
-CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
+CCOPTS = ${CFLAGS} -pedantic -Wall -fstrict-aliasing -fomit-frame-pointer
CCOPTS += -I./examples/cmdline -I./src # duktape.h and duk_config.h must be in include path
CCLIBS = -lm