ports/162263: x11-toolkits/swt-devel: workaround for build failure caused by webkit
Conrad J. Sabatier
conrads at cox.net
Thu Nov 3 03:10:10 UTC 2011
>Number: 162263
>Category: ports
>Synopsis: x11-toolkits/swt-devel: workaround for build failure caused by webkit
>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: Thu Nov 03 03:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Conrad J. Sabatier
>Release: FreeBSD 9.0-RC1 amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 9.0-RC1 FreeBSD 9.0-RC1 #4: Mon Oct 31 19:06:02 CDT 2011 conrads at serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
x11-toolkits/swt-devel currently fails to build if webkit-gtk2 is installed.
The work/build.sh script automatically detects the existence of webkit and enables
it in the build, causing the build to eventually fail at line 62 of work/build.xml.
>How-To-Repeat:
Install www/webkit-gtk2, then try building x11-toolkits/swt-devel.
>Fix:
The following patch is a very simple temporary workaround, unconditionally disabling
webkit in the build (until a better solution may be found).
--- swt-devel.diff begins here ---
Index: ports/x11-toolkits/swt-devel/files/patch-build.sh
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/swt-devel/files/patch-build.sh,v
retrieving revision 1.9
diff -r1.9 patch-build.sh
1,2c1,2
< --- build.sh.orig 2011-02-10 17:29:10.000000000 +0000
< +++ build.sh 2011-10-01 22:32:40.000000000 +0000
---
> --- build.sh.orig 2011-11-02 21:46:45.000000000 -0500
> +++ build.sh 2011-11-02 21:46:57.000000000 -0500
44c44
< @@ -146,30 +152,17 @@
---
> @@ -146,40 +152,28 @@
48,49c48
< +fi
<
---
> -
72a72,76
> fi
>
> -if [ x`pkg-config --exists webkit-1.0 && echo YES` = "xYES" ]; then
> - echo "WebKit found, compiling webkit embedded browser support."
> - MAKE_WEBKIT=make_webkit
79c83,85
< +else
---
> else
> - echo "WebKit not found:"
> - echo " *** WebKit embedding support will not be compiled."
84c90,101
< if [ x`pkg-config --exists webkit-1.0 && echo YES` = "xYES" ]; then
---
> +#if [ x`pkg-config --exists webkit-1.0 && echo YES` = "xYES" ]; then
> +# echo "WebKit found, compiling webkit embedded browser support."
> +# MAKE_WEBKIT=make_webkit
> +#else
> +# echo "WebKit not found:"
> + echo " *** WebKit embedding support will not be compiled, causes build to fail."
> + echo " *** (temporary workaround until a better solution can be found)"
> +#fi
> +
> # Find AWT if available
> if [ -z "${AWT_LIB_PATH}" ]; then
> if [ -f ${JAVA_HOME}/jre/lib/${AWT_ARCH}/libjawt.* ]; then
--- swt-devel.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list