forked from Lainports/freebsd-ports
This patch updates java/eclipse-cdt to the latest version 3.0.1. It also installs the native shared libraries that were previously missing. In order to do this the distfile of the cdt-sdk had to be used instead. A static pkg-plist is also used to help people searching through the ports files. PR: ports/89893 Submitted by: Panagiotis Astithas <past@ebs.gr> Approved by: maintainer timeout
24 lines
940 B
Text
24 lines
940 B
Text
--- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/Makefile.orig Sat Dec 3 01:27:30 2005
|
|
+++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/Makefile Sat Dec 3 01:28:54 2005
|
|
@@ -5,17 +5,17 @@
|
|
endif
|
|
|
|
# Defaults which can be overridden.
|
|
-OS = linux
|
|
-ARCH = x86
|
|
+#OS = linux
|
|
+#ARCH = x86
|
|
|
|
JDK_INCLUDES= $(JAVA_HOME)/include
|
|
-JDK_OS_INCLUDES= $(JAVA_HOME)/include/$(OS)
|
|
+JDK_OS_INCLUDES= $(JAVA_HOME)/include/$(ECLIPSE_OS)
|
|
|
|
CC=gcc
|
|
CPPFLAGS = -I. -I$(JDK_INCLUDES) -I$(JDK_OS_INCLUDES)
|
|
CFLAGS +=-fpic -D_REENTRANT -D_GNU_SOURCE
|
|
|
|
-INSTALL_DIR = ../../org.eclipse.cdt.core.linux.$(ARCH)/os/$(OS)/$(ARCH)
|
|
+INSTALL_DIR = ../../../../org.eclipse.cdt.core.freebsd.$(ECLIPSE_ARCH)_${PORTVERSION}/os/$(ECLIPSE_OS)/$(ECLIPSE_ARCH)
|
|
|
|
LIB_NAME_SPAWNER = libspawner.so
|
|
LIB_NAME_FULL_SPAWNER = $(INSTALL_DIR)/libspawner.so
|