# $Id: Portfile,v 1.13 2005/09/13 06:57:43 olegb Exp $

PortSystem 1.0
name		orbit
version		0.5.17
revision	3
categories	devel
maintainers	darwinports@opendarwin.org
description 	High-performance CORBA ORB with C lang support
long_description    \
    ORBit is a high-performance CORBA ORB with support for the C \
    language. It allows programs to send requests and receive replies \
    from other programs, regardless of the locations of the two \
    programs.
homepage    	http://orbit-resource.sourceforge.net/
platforms	darwin
master_sites    gnome:sources/ORBit/0.5/
checksums	md5 35acc6f8d49d930b566104fcceb893d3
distname    	ORBit-${version}
use_bzip2	yes
depends_lib 	lib:glib.1:glib1 lib:libintl.3:gettext
configure.args	\
    	LDFLAGS="-L${prefix}/lib -flat_namespace -undefined suppress" \
	CPPFLAGS="-I${prefix}/include -no-cpp-precomp -DHAVE_LIMITED_WRITEV \
	    	-DMAX_LIMITED_IOVECS=1024" \
	CFLAGS="-O3 -fstrict-aliasing -funroll-loops" \
	--infodir=${prefix}/share/info
variant darwin 6 {
	depends_lib-append	lib:libdl:dlcompat
	patchfiles	patch
}
