ports/184294: lang/phantomjs does not depend on Qt
Benjamin Lee
ben at b1c1l1.com
Mon Nov 25 22:40:00 UTC 2013
>Number: 184294
>Category: ports
>Synopsis: lang/phantomjs does not depend on Qt
>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: Mon Nov 25 22:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Benjamin Lee
>Release: 9.2-RELEASE
>Organization:
>Environment:
FreeBSD eclipse.b1c1l1.com 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
As of version 1.5 upstream bundles their own forked Qt and builds statically [1], so the port Qt dependency should be removed.
$ ldd /usr/local/bin/phantomjs
/usr/local/bin/phantomjs:
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x802a91000)
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x802d1e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x802f57000)
libm.so.5 => /lib/libm.so.5 (0x80326d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80348e000)
libthr.so.3 => /lib/libthr.so.3 (0x80369c000)
libc.so.7 => /lib/libc.so.7 (0x8038bf000)
libz.so.6 => /lib/libz.so.6 (0x803c1a000)
libbz2.so.4 => /usr/lib/libbz2.so.4 (0x803e2e000)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x80403e000)
[1] http://ariya.ofilabs.com/2012/03/the-evolution-of-phantomjs-build-workflow.html
>How-To-Repeat:
>Fix:
Apply the attached patch.
Patch attached with submission follows:
diff -ruN phantomjs.orig/Makefile phantomjs/Makefile
--- phantomjs.orig/Makefile 2013-10-01 00:43:51.000000000 -0700
+++ phantomjs/Makefile 2013-11-25 14:34:36.694132812 -0800
@@ -12,12 +12,13 @@
LICENSE= BSD
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
+ fontconfig:${PORTSDIR}/x11-fonts/fontconfig
PROJECTHOST= phantomjs
USE_ZIP= YES
USE_GMAKE= YES
USE_DOS2UNIX= YES
-USE_QT4= moc qmake gui webkit rcc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-build:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list