svn commit: r484197 - in head/lang/duktape-lib: . files

Jan Beich jbeich at FreeBSD.org
Tue Nov 6 13:02:06 UTC 2018


Tijl Coosemans <tijl at FreeBSD.org> writes:

> On Mon, 5 Nov 2018 15:48:42 +0000 (UTC) Koichiro Iwao <meta at FreeBSD.org> wrote:
>
>> Author: meta
>> Date: Mon Nov  5 15:48:42 2018
>> New Revision: 484197
>> URL: https://svnweb.freebsd.org/changeset/ports/484197
>> 
>> Log:
>>   lang/duktape-lib: Update to 2.3.0
[...]
>> - libduktape.so.$(REAL_VERSION):
>> --	gcc -shared -fPIC -Wall -Wextra -Os -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
>> -+	$(CC) -shared $(CFLAGS) -fPIC -Wall -Wextra -Wl,-soname,libduktape.so.$(SONAME_VERSION) \
>> - 		-o $@ $(DUKTAPE_SRCDIR)/duktape.c
>> +-CC = gcc
>> ++CC = cc
>
> If you add 'MAKE_ARGS= CC="${CC}"' to the port Makefile you don't need
> this patch and it makes the port build on systems where cc doesn't exist.

Well, "as is" the port currently fails to respect both CC and CFLAGS.
Changing either can be done by user for optimization, debugging or
as a workaround.

https://www.freebsd.org/doc/en/books/porters-handbook/dads-cc.html
https://www.freebsd.org/doc/en/books/porters-handbook/dads-cflags.html


More information about the svn-ports-all mailing list