openbsd-ports/devel/ORBit2/Makefile
marcm dd5aab7bae Update to ORBit2-2.10.1.
This update fixes a longstanding bug that made Gnome 2 not play well
with macppc and sparc* arches.  Additionally, it introduces a new patch
scheme for libtool since the later libtools recognize -pthread... well
mostly anyway.
2004-05-06 06:02:30 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2004/05/06 06:02:30 marcm Exp $
COMMENT= "high-performance CORBA Object Request Broker"
DISTNAME= ORBit2-2.10.1
CATEGORIES= devel
HOMEPAGE= http://www.labs.redhat.com/orbit/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ORBit2/2.10/}
EXTRACT_SUFX= .tar.bz2
# fix for Alpha
.if (${MACHINE_ARCH} == "alpha")
PATCH_LIST= patch-* sup-alpha-*
.endif
MODULES= gettext
BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig
LIB_DEPENDS= IDL-2::devel/libIDL \
gmodule-2.0.0.0,gobject-2.0.0.0,gthread-2.0.0.0::devel/glib2 \
popt::devel/popt
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.59
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-indent
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# XXX you can't compile this with an existing ORBit installed...
# LDFLAGS="-L${LOCALBASE}/lib" messes it up but is needed to detect popt
.include <bsd.port.mk>