Bug 187390

Summary: Update lang/phantomjs to 1.9.7
Product: Ports & Packages Reporter: Thomas Gellekum <tg>
Component: Individual Port(s)Assignee: Jun Kuriyama <kuriyama>
Status: Closed FIXED    
Severity: Affects Only Me CC: borja
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Thomas Gellekum freebsd_committer freebsd_triage 2014-03-09 13:10:00 UTC
New version is out; master site changed.

Fix: See attached file.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-10 03:48:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Christopher Hall 2014-05-07 02:34:39 UTC
I just tried this on PC-BSD 10:

FreeBSD 10.0-RELEASE-p10 (GENERIC) #0: Wed Apr 30 17:46:07 UTC 2014

Compiled with: gcc47 (FreeBSD Ports Collection) 4.7.3
(no other gcc versions were installed)

Compilation was OK, but run failed:
% phantomjs --version
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/bin/phantomjs not found

replaced gcc bu running:
% pkg remove -f gcc
% pkg install gcc49
then rebuild/installed again (this time g++49 wa used)
and the same error as above occurs.
Comment 3 Francisco de Borja Lopez Rio 2014-07-08 10:52:06 UTC
Built flawlessly, worked fine here (FreeBSD 10.0 STABLE built from sources on Mon Jun 9 2014).

# gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
# cc -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.0
Thread model: posix
Selected GCC installation:
#

phantomjs 1.9.7 includes some important changes and bugfixes, so I think it would be great to have it in the ports tree.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-11-22 12:20:59 UTC
A commit references this bug:

Author: kuriyama
Date: Sat Nov 22 12:20:20 UTC 2014
New revision: 373052
URL: https://svnweb.freebsd.org/changeset/ports/373052

Log:
  - Upgrade to 1.9.8.

  PR:		ports/187390 (related)

Changes:
  head/lang/phantomjs/Makefile
  head/lang/phantomjs/distinfo
  head/lang/phantomjs/pkg-plist
Comment 5 Jun Kuriyama freebsd_committer freebsd_triage 2014-11-22 12:22:34 UTC
As I tested locally, 1.9.7 still have some problem.  But it seems 1.9.8 works well.

I committed upgrade to 1.9.8.

Thanks!