aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-12 15:38:50 +0800
committerrafan <rafan@FreeBSD.org>2006-12-12 15:38:50 +0800
commit68a421872f9317f7c7564fac26d1eeacdaf7dd5a (patch)
tree4e1f277826f7ac826f6b5663c690f053ea3d6de9 /java
parent600803a4f098334b4d4013c4cbc0734d7dce80a4 (diff)
downloadfreebsd-ports-gnome-68a421872f9317f7c7564fac26d1eeacdaf7dd5a.tar.gz
freebsd-ports-gnome-68a421872f9317f7c7564fac26d1eeacdaf7dd5a.tar.zst
freebsd-ports-gnome-68a421872f9317f7c7564fac26d1eeacdaf7dd5a.zip
- Respect X11BASE
This is the same fix as I did for x11-toolkits/swt Reported by: pointyhat Approved by: portmgr (linimon)
Diffstat (limited to 'java')
-rw-r--r--java/eclipse/files/post-patch-plugins-swt-gtk-make_freebsd.mak18
1 files changed, 18 insertions, 0 deletions
diff --git a/java/eclipse/files/post-patch-plugins-swt-gtk-make_freebsd.mak b/java/eclipse/files/post-patch-plugins-swt-gtk-make_freebsd.mak
index 8fd9bd272332..ed565f244462 100644
--- a/java/eclipse/files/post-patch-plugins-swt-gtk-make_freebsd.mak
+++ b/java/eclipse/files/post-patch-plugins-swt-gtk-make_freebsd.mak
@@ -1,5 +1,23 @@
--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak.orig Mon Oct 9 16:06:20 2006
+++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak Mon Oct 9 16:27:59 2006
+@@ -48,7 +48,7 @@
+
+ # Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0)
+ GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
+-GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/X11R6/lib $(XLIB64) -lXtst
++GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L$(X11BASE)/lib $(XLIB64) -lXtst
+
+ CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
+
+@@ -61,7 +61,7 @@
+ GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2
+
+ GLXCFLAGS =
+-GLXLIBS = -shared -fPIC -L/usr/X11R6/lib -lGL -lGLU -lm
++GLXLIBS = -shared -fPIC -L$(X11BASE)/lib -lGL -lGLU -lm
+
+ # Uncomment for Native Stats tool
+ #NATIVE_STATS = -DNATIVE_STATS
@@ -79,6 +79,10 @@
-I. \
-I$(JAVA_HOME)/include \