Date: Sat, 28 Oct 2017 02:47:22 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453043 - head/devel/nsgenbind/files Message-ID: <201710280247.v9S2lM9k005537@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710280247.v9S2lM9k005537>