From owner-svn-ports-head@freebsd.org Sat Oct 28 02:47:23 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26B7BE59500; Sat, 28 Oct 2017 02:47:23 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9ED416C; Sat, 28 Oct 2017 02:47:22 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9S2lMmQ005538; Sat, 28 Oct 2017 02:47:22 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9S2lM9k005537; Sat, 28 Oct 2017 02:47:22 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201710280247.v9S2lM9k005537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Sat, 28 Oct 2017 02:47:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453043 - head/devel/nsgenbind/files X-SVN-Group: ports-head X-SVN-Commit-Author: vanilla X-SVN-Commit-Paths: head/devel/nsgenbind/files X-SVN-Commit-Revision: 453043 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2017 02:47:23 -0000 Author: vanilla Date: Sat Oct 28 02:47:21 2017 New Revision: 453043 URL: https://svnweb.freebsd.org/changeset/ports/453043 Log: Fix building on 12-current. Added: head/devel/nsgenbind/files/ head/devel/nsgenbind/files/patch-src_Makefile (contents, props changed) Added: head/devel/nsgenbind/files/patch-src_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/nsgenbind/files/patch-src_Makefile Sat Oct 28 02:47:21 2017 (r453043) @@ -0,0 +1,37 @@ +--- src/Makefile.orig 2017-10-28 02:13:25 UTC ++++ src/Makefile +@@ -1,17 +1,17 @@ +-CFLAGS := $(CFLAGS) -I$(BUILDDIR) -Isrc/ -g -DYYENABLE_NLS=0 ++CFLAGS := $(CFLAGS) -Isrc/ -g -DYYENABLE_NLS=0 + + # Sources in this directory + DIR_SOURCES := nsgenbind.c utils.c webidl-ast.c nsgenbind-ast.c ir.c \ + duk-libdom.c duk-libdom-interface.c duk-libdom-dictionary.c \ + duk-libdom-common.c duk-libdom-generated.c + +-SOURCES := $(SOURCES) $(BUILDDIR)/nsgenbind-parser.c $(BUILDDIR)/nsgenbind-lexer.c $(BUILDDIR)/webidl-parser.c $(BUILDDIR)/webidl-lexer.c ++SOURCES := $(SOURCES) src/nsgenbind-parser.c src/nsgenbind-lexer.c src/webidl-parser.c src/webidl-lexer.c + +-$(BUILDDIR)/%-lexer.c $(BUILDDIR)/%-lexer.h: src/%-lexer.l ++src/%-lexer.c src/%-lexer.h: src/%-lexer.l + $(VQ)$(ECHO) " FLEX: $<" +- $(Q)$(FLEX) --outfile=$(BUILDDIR)/$(*F)-lexer.c --header-file=$(BUILDDIR)/$(*F)-lexer.h $< ++ $(Q)$(FLEX) --outfile=src/$(*F)-lexer.c --header-file=src/$(*F)-lexer.h $< + +-$(BUILDDIR)/%-lexer.c: $(BUILDDIR)/%-parser.h ++src/%-lexer.c: src/%-parser.h + + # Bison 3.0 and later require api.prefix in curly braces + # Bison 2.6 and later require api.prefix +@@ -33,9 +33,9 @@ else + endif + endif + +-$(BUILDDIR)/%-parser.c $(BUILDDIR)/%-parser.h: src/%-parser.y ++src/%-parser.c src/%-parser.h: src/%-parser.y + $(VQ)$(ECHO) " BISON: $<" +- $(Q)$(BISON) -d -t $(BISON_DEFINES) --report=all --output=$(BUILDDIR)/$(*F)-parser.c --defines=$(BUILDDIR)/$(*F)-parser.h $< ++ $(Q)$(BISON) -d -t $(BISON_DEFINES) --report=all --output=src/$(*F)-parser.c --defines=src/$(*F)-parser.h $< + + # Grab the core makefile + include $(NSBUILD)/Makefile.subdir