Index: head/lang/mujs/Makefile =================================================================== --- head/lang/mujs/Makefile (revision 495796) +++ head/lang/mujs/Makefile (revision 495797) @@ -1,29 +1,33 @@ # $FreeBSD$ PORTNAME= mujs -DISTVERSION= 1.0.5-10 -DISTVERSIONSUFFIX= -g9f40dfb +DISTVERSION= 1.0.5-21 +DISTVERSIONSUFFIX= -g269904f CATEGORIES= lang devel +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ +PATCHFILES= d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch:-p1 + MAINTAINER= yuri@FreeBSD.org COMMENT= Embeddable Javascript interpreter in C LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING -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 +USES= compiler:c11 gmake 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= shared INSTALL_TARGET= install-shared +.if defined(WITH_DEBUG) # this project manages its build options itself +MAKE_ARGS= build=debug +.endif + PLIST_FILES= bin/mujs \ include/mujs.h \ lib/libmujs.so \ libdata/pkgconfig/mujs.pc - -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 495796) +++ head/lang/mujs/distinfo (revision 495797) @@ -1,3 +1,5 @@ -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 +TIMESTAMP = 1552667764 +SHA256 (ccxvii-mujs-1.0.5-21-g269904f_GH0.tar.gz) = 6a81cc6a323b8a7595d87d16814160deef5f5c5e6ce7e20cd2720f31514f3422 +SIZE (ccxvii-mujs-1.0.5-21-g269904f_GH0.tar.gz) = 119947 +SHA256 (d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch) = de236ceb1d7df002bf0930ff31f07f58260e0faf780edef72f05d478185cb279 +SIZE (d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch) = 589 Index: head/lang/mujs/files/patch-Makefile =================================================================== --- head/lang/mujs/files/patch-Makefile (nonexistent) +++ head/lang/mujs/files/patch-Makefile (revision 495797) @@ -0,0 +1,21 @@ +--- Makefile.orig 2019-03-15 16:38:36 UTC ++++ Makefile +@@ -15,7 +15,8 @@ endif + + # Compiler flags for various configurations: + +-CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter ++# change to c11 on FreeBSD because FreeBSD headers induce c11 through isnan(3), etc. ++CFLAGS := -std=c11 -pedantic -Wall -Wextra -Wno-unused-parameter + + ifeq "$(CC)" "clang" + CFLAGS += -Wunreachable-code +@@ -31,7 +32,7 @@ else ifeq "$(build)" "sanitize" + CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer + LDFLAGS += -fsanitize=address + else +- CFLAGS += -Os ++ CFLAGS += -O3 # use -O3 on FreeBSD instead of -Os because this isn't an embedded platform + LDFLAGS += -Wl,-s + endif + Property changes on: head/lang/mujs/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property