summaryrefslogtreecommitdiff
path: root/java/eclipse/files
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2013-03-03 02:51:25 +0000
committerGreg Lewis <glewis@FreeBSD.org>2013-03-03 02:51:25 +0000
commita4674fe17793bf6f2fafe03f2da70c1fa9762059 (patch)
treea62a357bb5244e71815fdc51648cff587a509758 /java/eclipse/files
parentupdate to 1.51; switch to new options format (diff)
. Use the webkit-gtk2 library to provide the SWT browser functions instead
of libxul since the SWT plugin libraries in the eclipse-devel port will not compile using libxul version 10. PR: 174846 Submitted by: Jimmy Kelley <ljboiler@gmail.com>
Notes
Notes: svn path=/head/; revision=313322
Diffstat (limited to 'java/eclipse/files')
-rw-r--r--java/eclipse/files/freebsd-support.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/java/eclipse/files/freebsd-support.patch b/java/eclipse/files/freebsd-support.patch
index 90d530fd4805..a2315dab73b3 100644
--- a/java/eclipse/files/freebsd-support.patch
+++ b/java/eclipse/files/freebsd-support.patch
@@ -7459,3 +7459,24 @@ $FreeBSD$
else
echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM"
echo " *** Mozilla embedding support will not be compiled."
+--- build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh.orig 2012-12-25 21:01:56.000000000 -0600
++++ build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 2012-12-25 21:28:35.000000000 -0600
+@@ -491,7 +491,7 @@
+ export MOZILLA_INCLUDES
+ export MOZILLA_LIBS
+ MAKE_MOZILLA=make_mozilla
+- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
++ elif [ x`pkg-config --exists "libxul < 2" && echo YES` = "xYES" ]; then
+ XULRUNNER_INCLUDES=`pkg-config --cflags libxul`
+ XULRUNNER_LIBS=`pkg-config --libs libxul`
+ XULRUNNER_LIBS=`echo ${XULRUNNER_LIBS} -lxpcomglue`
+--- build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak.orig 2012-12-29 13:05:23.000000000 -0600
++++ build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak 2012-12-29 13:06:37.000000000 -0600
+@@ -27,6 +27,7 @@
+ MOZILLA_PREFIX = swt-mozilla$(GCC_VERSION)
+ XULRUNNER_PREFIX = swt-xulrunner
+ XPCOMINIT_PREFIX = swt-xpcominit
++WEBKIT_PREFIX = swt-webkit
+ GLX_PREFIX = swt-glx
+
+ SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so