svn commit: r534863 - head/lang/mujs

Yuri Victorovich yuri at FreeBSD.org
Sun May 10 20:46:17 UTC 2020


Author: yuri
Date: Sun May 10 20:46:16 2020
New Revision: 534863
URL: https://svnweb.freebsd.org/changeset/ports/534863

Log:
  lang/mujs: Add the SANITIZED port option

Modified:
  head/lang/mujs/Makefile

Modified: head/lang/mujs/Makefile
==============================================================================
--- head/lang/mujs/Makefile	Sun May 10 19:45:14 2020	(r534862)
+++ head/lang/mujs/Makefile	Sun May 10 20:46:16 2020	(r534863)
@@ -2,6 +2,7 @@
 
 PORTNAME=	mujs
 DISTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	lang devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
@@ -30,11 +31,14 @@ PLIST_FILES=	bin/mujs \
 		lib/libmujs.a \
 		libdata/pkgconfig/mujs.pc
 
-OPTIONS_DEFINE=		32BIT
+OPTIONS_DEFINE=		32BIT SANITIZED
 OPTIONS_DEFAULT=	32BIT
 
 32BIT_DESC=		32-bit address space to allow for larger programs
 32BIT_MAKE_ARGS=	XCFLAGS="-DJS_INSTRUCTION=int"
+
+SANITIZED_DESC=		Sanitized build (only for debugging)
+SANITIZED_MAKE_ARGS=	build=sanitize
 
 post-install: # https://github.com/ccxvii/mujs/issues/99
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmujs.so


More information about the svn-ports-head mailing list