Date: Tue, 6 Nov 2018 13:00:40 +0100 From: =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org> To: Koichiro Iwao <meta@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r484197 - in head/lang/duktape-lib: . files Message-ID: <20181106130040.75d98989@kalimero.tijl.coosemans.org> In-Reply-To: <201811051548.wA5Fmg5G063134@repo.freebsd.org> References: <201811051548.wA5Fmg5G063134@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Nov 2018 15:48:42 +0000 (UTC) Koichiro Iwao <meta@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181106130040.75d98989>