Index: head/lang/mujs/files/patch-Makefile =================================================================== --- head/lang/mujs/files/patch-Makefile (revision 493737) +++ head/lang/mujs/files/patch-Makefile (nonexistent) @@ -1,53 +0,0 @@ ---- Makefile.orig 2018-09-11 10:47:31 UTC -+++ Makefile -@@ -15,7 +15,7 @@ endif - - # Compiler flags for various configurations: - --CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter - - ifeq "$(CC)" "clang" - CFLAGS += -Wunreachable-code -@@ -24,14 +24,17 @@ endif - ifeq "$(shell uname)" "Linux" - HAVE_READLINE := yes - endif -+ifeq "$(shell uname)" "FreeBSD" -+ HAVE_READLINE := yes -+endif - - ifeq "$(build)" "debug" -- CFLAGS += -g -+ #CFLAGS += -g - else ifeq "$(build)" "sanitize" -- CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer -+ CFLAGS += -pipe -fsanitize=address -fno-omit-frame-pointer - LDFLAGS += -fsanitize=address - else -- CFLAGS += -Os -+ #CFLAGS += -Os - LDFLAGS += -Wl,-s - endif - -@@ -49,9 +52,9 @@ OUT := build/$(build) - SRCS := $(wildcard js*.c utf*.c regexp.c) - HDRS := $(wildcard js*.h mujs.h utf.h regexp.h) - --default: static -+default: shared - static: $(OUT)/mujs-pp $(OUT)/mujs $(OUT)/libmujs.a $(OUT)/mujs.pc --shared: static $(OUT)/libmujs.so -+shared: $(OUT)/mujs $(OUT)/libmujs.so $(OUT)/mujs.pc - - astnames.h: jsparse.h - grep -E '(AST|EXP|STM)_' jsparse.h | sed 's/^[^A-Z]*\(AST_\)*/"/;s/,.*/",/' | tr A-Z a-z > $@ -@@ -115,7 +118,7 @@ install-static: install-common - install-shared: install-common - install -m 755 build/release/libmujs.so $(DESTDIR)$(libdir) - --install: install-static -+install: install-shared - - tarball: - git archive --format=zip --prefix=mujs-$(VERSION)/ HEAD > mujs-$(VERSION).zip Property changes on: head/lang/mujs/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/lang/mujs/Makefile =================================================================== --- head/lang/mujs/Makefile (revision 493737) +++ head/lang/mujs/Makefile (revision 493738) @@ -1,28 +1,29 @@ # $FreeBSD$ PORTNAME= mujs -DISTVERSION= 1.0.5 -PORTREVISION= 1 +DISTVERSION= 1.0.5-10 +DISTVERSIONSUFFIX= -g9f40dfb CATEGORIES= lang devel MAINTAINER= yuri@FreeBSD.org COMMENT= Embeddable Javascript interpreter in C LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake localbase:ldflags readline +USES= compiler:c11 gmake localbase:ldflags readline # c11 is induced by the FreeBSD headers via isnan(3), etc, otherwise the project is all c99 code USE_GITHUB= yes GH_ACCOUNT= ccxvii USE_LDCONFIG= yes -ALL_TARGET= default +ALL_TARGET= shared +INSTALL_TARGET= install-shared PLIST_FILES= bin/mujs \ include/mujs.h \ lib/libmujs.so \ libdata/pkgconfig/mujs.pc -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmujs.so +post-install: # https://github.com/ccxvii/mujs/issues/83 + @${REINPLACE_CMD} -i '' 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/libdata/pkgconfig/mujs.pc .include Index: head/lang/mujs/distinfo =================================================================== --- head/lang/mujs/distinfo (revision 493737) +++ head/lang/mujs/distinfo (revision 493738) @@ -1,3 +1,3 @@ -TIMESTAMP = 1537257689 -SHA256 (ccxvii-mujs-1.0.5_GH0.tar.gz) = 06c5ba5844af8714a7b89e614eb9a049da58b22974642900c87964d1f726174d -SIZE (ccxvii-mujs-1.0.5_GH0.tar.gz) = 119353 +TIMESTAMP = 1550977747 +SHA256 (ccxvii-mujs-1.0.5-10-g9f40dfb_GH0.tar.gz) = f4155fca71d62cae48f0eb0a6091889bb67835b1ecbc8c90105470b55d88fe37 +SIZE (ccxvii-mujs-1.0.5-10-g9f40dfb_GH0.tar.gz) = 119479