diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-05-07 05:00:40 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-05-07 05:00:40 +0000 |
commit | 0bc453c3e644edfc1514f310a3360766f95d0fb2 (patch) | |
tree | 6da7c8eeff44f013dcae1a63682175b9dd0b0fe7 /java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak | |
parent | Fix the build on 4.X. (diff) |
Add eclipse-devel 3.1M6, an open extensible IDE for anything and nothing
in particular.
PR: ports/79917
Submitted by: various members of freebsd-java
Notes
Notes:
svn path=/head/; revision=134751
Diffstat (limited to 'java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak')
-rw-r--r-- | java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak b/java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak new file mode 100644 index 000000000000..2aeab21323ce --- /dev/null +++ b/java/eclipse-devel/files/manualpatch-plugins-swt-gtk-make_freebsd.mak @@ -0,0 +1,41 @@ +--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak Fri Apr 1 13:55:11 2005 ++++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak Sat Apr 9 13:48:50 2005 +@@ -49,8 +49,8 @@ + GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` + GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2 + +-KDE_LIBS = -shared -L$(KDE_LIB_PATH) -lkdecore -lkparts -L$(QT_HOME)/lib -lqt +-KDE_CFLAGS = -fno-rtti -c -O -I$(KDE_INCLUDE_PATH) -I$(QT_HOME)/include -I$(JAVA_HOME)/include ++KDE_LIBS = -shared -L$(KDE_LIB_PATH) -lkdecore -lkparts -L$(QT_HOME)/lib -lqt-mt ++KDE_CFLAGS = -fno-rtti -c -O -I$(KDE_INCLUDE_PATH) -I$(QT_HOME)/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd + + # Uncomment for Native Stats tool + #NATIVE_STATS = -DNATIVE_STATS +@@ -65,6 +65,7 @@ + -Wno-non-virtual-dtor \ + -fPIC \ + -I./ \ ++ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd \ + ${GECKO_INCLUDES} \ + ${SWT_PTR_CFLAGS} + +@@ -82,14 +83,14 @@ + CFLAGS = -O -Wall \ + -DSWT_VERSION=$(SWT_VERSION) \ + $(NATIVE_STATS) \ +- -DLINUX -DGTK \ +- -I$(JAVA_HOME)/include \ +- -fpic \ ++ -DFREEBSD -DGTK \ ++ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(X11BASE)/include \ ++ -fpic -fPIC \ + ${SWT_PTR_CFLAGS} +-LIBS = -shared -fpic ++LIBS = -shared -fpic -fPIC + + +-all: make_swt make_atk make_gnome make_awt make_kde ++all: make_swt make_atk $(MAKE_GNOME) make_awt + + # + # SWT libs |