aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2005-06-08 15:10:56 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2005-06-08 15:10:56 +0000
commitf5bd648d815748e553f84c06e65061079e325a99 (patch)
tree096cf6cac7f86e1776868eef5c01a1edaae3dee5 /devel/ice/files
parent6fea1151dbaa0ab565f3571235e1cbebe894ac4d (diff)
downloadports-f5bd648d815748e553f84c06e65061079e325a99.tar.gz
ports-f5bd648d815748e553f84c06e65061079e325a99.zip
Add an experimental port of ice, the Internet Communications Engine, a
modern alternative to object middleware such as CORBA. PR: 64136 Submitted by: Stefan Ehmann <shoesoft@gmx.net> Original submission by: Sergey Matveychuk <sem@ciam.ru> Thanks to: flz for reviving the PR
Notes
Notes: svn path=/head/; revision=137064
Diffstat (limited to 'devel/ice/files')
-rw-r--r--devel/ice/files/Make.rules.FreeBSD15
-rw-r--r--devel/ice/files/patch-Make.rules51
-rw-r--r--devel/ice/files/patch-Makefile31
-rw-r--r--devel/ice/files/patch-include::IceUtil::Config.h11
-rw-r--r--devel/ice/files/patch-src::icecpp::config.h11
5 files changed, 119 insertions, 0 deletions
diff --git a/devel/ice/files/Make.rules.FreeBSD b/devel/ice/files/Make.rules.FreeBSD
new file mode 100644
index 000000000000..4c61d61235eb
--- /dev/null
+++ b/devel/ice/files/Make.rules.FreeBSD
@@ -0,0 +1,15 @@
+mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4)
+
+BASELIBS = -lIceUtil %%PTHREAD_LIBS%%
+LIBS = -lIce $(BASELIBS)
+
+ICEUTIL_OS_LIBS = %%PTHREAD_LIBS%%
+
+PLATFORM_HAS_READLINE := yes
+
+export LD_LIBRARY_PATH := $(libdir):$(LD_LIBRARY_PATH)
+
+lp64suffix =
+prefix = %%PREFIX%%
+install_slicedir = %%DATADIR%%
+install_docdir = %%DOCSDIR%%
diff --git a/devel/ice/files/patch-Make.rules b/devel/ice/files/patch-Make.rules
new file mode 100644
index 000000000000..4b642c902cbd
--- /dev/null
+++ b/devel/ice/files/patch-Make.rules
@@ -0,0 +1,51 @@
+--- config/Make.rules.orig Wed May 26 01:09:19 2004
++++ config/Make.rules Sat May 29 16:02:37 2004
+@@ -12,7 +12,7 @@
+ # if it does not exist.
+ #
+
+-prefix = /opt/Ice-$(VERSION)
++prefix = $(PREFIX)/Ice-$(VERSION)
+
+ #
+ # Define OPTIMIZE as yes if you want to build with
+@@ -91,7 +91,7 @@
+ # directory.
+ #
+
+-#DB_HOME ?= /opt/db
++DB_HOME ?= $(LOCALBASE)
+
+ #
+ # If OpenSSL is not installed in a standard location where the
+@@ -114,7 +114,7 @@
+ # installation directory.
+ #
+
+-#EXPAT_HOME ?= /opt/expat
++EXPAT_HOME ?= $(LOCALBASE)
+
+
+ #
+@@ -152,8 +152,8 @@
+ install_schemadir = $(prefix)/schema
+ install_docdir = $(prefix)/doc
+
+-INSTALL = cp -fp
+-INSTALL_PROGRAM = ${INSTALL}
++INSTALL = %%INSTALL_DATA%%
++INSTALL_PROGRAM = %%INSTALL_PROGRAM%%
+ INSTALL_LIBRARY = ${INSTALL}
+ INSTALL_DATA = ${INSTALL}
+
+@@ -203,8 +203,8 @@
+ endif
+
+ ifneq ($(DB_HOME),)
+- DB_FLAGS = -I$(DB_HOME)/include
+- DB_LIBS = -L$(DB_HOME)/$(libsubdir) -ldb_cxx
++ DB_FLAGS = -I$(DB_HOME)/include/db42
++ DB_LIBS = -L$(DB_HOME)/$(libsubdir) -ldb_cxx-4.2
+ else
+ DB_FLAGS =
+ DB_LIBS = -ldb_cxx
diff --git a/devel/ice/files/patch-Makefile b/devel/ice/files/patch-Makefile
new file mode 100644
index 000000000000..9a28e26957d5
--- /dev/null
+++ b/devel/ice/files/patch-Makefile
@@ -0,0 +1,31 @@
+--- Makefile.orig Fri May 21 16:33:04 2004
++++ Makefile Thu Jul 22 19:46:03 2004
+@@ -49,12 +49,14 @@
+ chmod a+rx $(install_slicedir) ; \
+ fi
+
++ifndef NOPORTDOCS
+ @if test ! -d $(install_docdir) ; \
+ then \
+ echo "Creating $(install_docdir)..." ; \
+ mkdir $(install_docdir) ; \
+ chmod a+rx $(install_docdir) ; \
+ fi
++endif
+
+ $(EVERYTHING)::
+ @for subdir in $(SUBDIRS); \
+@@ -67,9 +69,11 @@
+ @( cd doc && $(MAKE) ) || exit 1
+
+ install::
++ifndef NOPORTDOCS
+ @( cd doc && $(MAKE) install ) || exit 1
+- $(INSTALL) ICE_LICENSE $(prefix)
+- $(INSTALL) LICENSE $(prefix)
++ $(INSTALL) ICE_LICENSE $(install_docdir)
++ $(INSTALL) LICENSE $(install_docdir)
++endif
+
+ clean::
+ @( cd doc && $(MAKE) clean ) || exit 1
diff --git a/devel/ice/files/patch-include::IceUtil::Config.h b/devel/ice/files/patch-include::IceUtil::Config.h
new file mode 100644
index 000000000000..235ee4e818be
--- /dev/null
+++ b/devel/ice/files/patch-include::IceUtil::Config.h
@@ -0,0 +1,11 @@
+--- include/IceUtil/Config.h.orig Thu Jul 22 01:21:08 2004
++++ include/IceUtil/Config.h Tue Jul 27 16:16:48 2004
+@@ -16,7 +16,7 @@
+ // Most CPUs support only one endianness, with the notable exceptions
+ // of Itanium (IA64) and MIPS.
+ //
+-#if defined(__i386) || defined(_M_IX86) || defined (__x86_64)
++#if defined(__i386) || defined(_M_IX86) || defined (__x86_64) || defined(__alpha__)
+ # define ICE_LITTLE_ENDIAN
+ #elif defined(__sparc) || defined(__sparc__) || defined(__hppa) || defined(__ppc__) || defined(_ARCH_COM)
+ # define ICE_BIG_ENDIAN
diff --git a/devel/ice/files/patch-src::icecpp::config.h b/devel/ice/files/patch-src::icecpp::config.h
new file mode 100644
index 000000000000..edc374064fb8
--- /dev/null
+++ b/devel/ice/files/patch-src::icecpp::config.h
@@ -0,0 +1,11 @@
+--- src/icecpp/config.h.orig Wed Feb 16 21:22:23 2005
++++ src/icecpp/config.h Wed Jun 8 12:28:58 2005
+@@ -56,7 +56,7 @@
+ #define LONG_TYPE_SIZE 4
+ #if defined(_WIN32)
+ # define WCHAR_TYPE_SIZE 2
+-#elif (defined(__linux) || defined(__FreeBSD__)) && (defined(__i386) || defined(__x86_64) || defined(__sparc)) \
++#elif (defined(__linux) || defined(__FreeBSD__)) && (defined(__i386) || defined(__x86_64) || defined(__sparc) || defined(__alpha__) || defined(__powerpc__) \
+ || defined (__sun) || defined(__hpux) || defined(__APPLE__) || defined(_AIX)
+ # define WCHAR_TYPE_SIZE 4
+ #else