From owner-freebsd-ports@FreeBSD.ORG Wed May 20 18:41:10 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2AA6C34; Wed, 20 May 2015 18:41:09 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF2331515; Wed, 20 May 2015 18:41:09 +0000 (UTC) Received: from [82.113.99.62] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Yv8vR-0004PL-FB; Wed, 20 May 2015 20:41:05 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t4KIf4xU008469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 20 May 2015 20:41:04 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t4KIf260008468; Wed, 20 May 2015 20:41:02 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 20 May 2015 20:41:02 +0200 From: Matthias Apitz To: Beat =?utf-8?B?R8OkdHpp?= Cc: freebsd-ports@freebsd.org Subject: Re: www/elinks && JavaScript Message-ID: <20150520184102.GA2200@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Beat =?utf-8?B?R8OkdHpp?= , freebsd-ports@freebsd.org References: <20150520131459.GA23645@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.99.62 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 18:41:10 -0000 El día Wednesday, May 20, 2015 a las 06:22:46PM +0300, Beat Gätzi escribió: > > I'm trying to use ports/www/elinks and to configure it to understand > > JavaScript, but it does not; for example this test page > > > > elinks http://javatester.org/javascript.html > > > > says that JS is not enabled; I think it is. It has it in the options > > compiled for: > > As far as I know elinks uses spidermonkey for javascript. Could > you please check if spidermonkey is installed and if yes, please check > if it is recognised during configure. Check for something like > "ECMAScript (JavaScript)”. $ pkg info spidermonke* spidermonkey17-1.7.0_1 $ pkg info spidermonke* spidermonkey17-1.7.0_1 $ pwd /usr/ports/www/elinks/work/elinks-0.11.7 $ grep -i ECMAScript config.* config.h:/* Define if you want: ECMAScript (JavaScript) support */ config.h:#define CONFIG_ECMASCRIPT 1 config.h.in:/* Define if you want: ECMAScript (JavaScript) support */ config.h.in:#undef CONFIG_ECMASCRIPT config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:| #define CONFIG_ECMASCRIPT 1 config.log:CONFIG_ECMASCRIPT='yes' config.log:#define CONFIG_ECMASCRIPT 1 config.status:s,@CONFIG_ECMASCRIPT@,|#_!!_#|yes,g config.status:s,^\([ #]*\)[^ ]*\([ ]*CONFIG_ECMASCRIPT\)[ (].*,\1define\2 1 , I saw it as well while making it: # make ... The following feature summary has been saved to features.log Feature summary: Documentation Tools ............. Pod2HTML Manual Formats .................. no Man Page Formats ................ no ... ECMAScript (JavaScript) ......... SpiderMonkey Browser scripting ............... SpiderMonkey ... Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)