ports/140124: [PATCH] lang/spidermonkey: Option for UTF8 support added

Mirko Zinn mail at derzinn.de
Fri Oct 30 21:30:02 UTC 2009


>Number:         140124
>Category:       ports
>Synopsis:       [PATCH] lang/spidermonkey: Option for UTF8 support added
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 30 21:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mirko Zinn
>Release:        FreeBSD 7.2-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD test 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct  2 08:22:32 UTC
>Description:
Option for UTF8 support added. Optional building with UTF8 is useful for other Ports that need this one with UTF8 support.

Port maintainer (citric at cubicone.tmetic.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- spidermonkey-1.7.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/spidermonkey.orig/Makefile /usr/ports/lang/spidermonkey/Makefile
--- /usr/ports/lang/spidermonkey.orig/Makefile	2009-06-23 21:47:12.000000000 +0200
+++ /usr/ports/lang/spidermonkey/Makefile	2009-10-30 21:00:01.000000000 +0100
@@ -57,4 +57,12 @@
 	${CP} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/jsautocfg.h ${WRKSRC}
 	@${INSTALL_DATA} ${JSH:S,^,${WRKSRC}/,} ${PREFIX}/include/
 
+OPTIONS=	UTF8 "Enable UTF8 support" Off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_UTF8)
+CFLAGS+=	-DJS_C_STRINGS_ARE_UTF8
+.endif
+
 .include <bsd.port.mk>
--- spidermonkey-1.7.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list