Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2009 22:09:26 +0100 (CET)
From:      Mirko Zinn <mail@derzinn.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        citric@cubicone.tmetic.com
Subject:   ports/140124: [PATCH] lang/spidermonkey: Option for UTF8 support added 
Message-ID:  <20091030210926.9CFB4666D4D@derzinn.de>
Resent-Message-ID: <200910302130.n9ULU2GC014419@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091030210926.9CFB4666D4D>