1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

devel/nsgenbind: update to 0.7

PR:		239513
Submitted by:	Neel Chauhan <neel@neelc.org> (maintainer)
This commit is contained in:
Steve Wills 2019-09-02 23:04:40 +00:00
parent 0012101e9c
commit 02c2e12462
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510889
3 changed files with 4 additions and 41 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nsgenbind
PORTVERSION= 0.6
PORTVERSION= 0.7
CATEGORIES= devel
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1536018242
SHA256 (nsgenbind-0.6-src.tar.gz) = 92f75414635b857abd9a4e2c119a517e797d247df5db30284e3dbaf273582c6c
SIZE (nsgenbind-0.6-src.tar.gz) = 106862
TIMESTAMP = 1564417404
SHA256 (nsgenbind-0.7-src.tar.gz) = 18632ea90fc98984771b4996a2f4fc06bd5f1bab33bf0379e4523b45fcacf466
SIZE (nsgenbind-0.7-src.tar.gz) = 117110

View File

@ -1,37 +0,0 @@
--- 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