ports/java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak
Norikatsu Shigemura a40f6b4f77 o Update to 3.1M7. [1]
o Add LATEST_LINK. [2]

PR:		ports/81076 [1]
Submitted by:	Alex Varju <freebsd-ports@varju.ca> [1]
Pointed out by:	krisbot via kris [2]
Tested by:	java@ [1]
2005-05-29 03:41:42 +00:00

23 lines
642 B
Makefile

--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak.orig Sat May 14 19:50:23 2005
+++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak Sat May 14 21:24:34 2005
@@ -78,15 +78,16 @@
CFLAGS = -O -Wall \
-DSWT_VERSION=$(SWT_VERSION) \
$(NATIVE_STATS) \
- -DLINUX -DGTK \
+ -DFREEBSD -DGTK \
-I$(JAVA_HOME)/include \
-I$(JAVA_HOME)/include/freebsd \
- -fpic \
+ -I$(X11BASE)/include \
+ -fpic -fPIC \
${SWT_PTR_CFLAGS}
-LIBS = -shared -fpic -s
+LIBS = -shared -fpic -fPIC -s
-all: make_swt make_atk make_gnome make_awt
+all: make_swt make_atk $(MAKE_GNOME) make_awt
#
# SWT libs