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

Tijl Coosemans tijl at FreeBSD.org
Tue Nov 6 12:01:51 UTC 2018


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
>   
>   While here,
>   * add USES=gmake, new Makefile.sharedlibrary uses "gnu make" syntax
>   
>   PR:		232138
>   Submitted by:	Alfonso S. Siciliano <alfix86 at gmail.com>
>   Approved by:	mentors (implicit)
> 
> Modified:
>   head/lang/duktape-lib/Makefile
>   head/lang/duktape-lib/distinfo
>   head/lang/duktape-lib/files/patch-Makefile.sharedlibrary
>   head/lang/duktape-lib/pkg-plist
> 
> Modified: head/lang/duktape-lib/files/patch-Makefile.sharedlibrary
> ==============================================================================
> --- head/lang/duktape-lib/files/patch-Makefile.sharedlibrary	Mon Nov  5 15:18:54 2018	(r484196)
> +++ head/lang/duktape-lib/files/patch-Makefile.sharedlibrary	Mon Nov  5 15:48:42 2018	(r484197)
> @@ -1,16 +1,11 @@
> ---- Makefile.sharedlibrary.orig	2017-09-23 01:06:08 UTC
> +--- Makefile.sharedlibrary.orig	2018-10-09 12:58:18 UTC
>  +++ Makefile.sharedlibrary
> -@@ -44,11 +44,11 @@ all: libduktape.so.$(REAL_VERSION) libdu
> - # to $INSTALL_PREFIX/include on installation.
> +@@ -52,7 +52,7 @@ INSTALL_PREFIX = /usr/local
> + DUKTAPE_SRCDIR = ./src
> + #DUKTAPE_SRCDIR = ./src-noline
>   
> - 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.


More information about the svn-ports-all mailing list