freebsd-ports/devel/py-omniorb/Makefile
Antoine Brodin c4541162d2 Mark BROKEN: Fails to build with new omniORB
/usr/local/include/omniORB4/internal/giopStream.h: In static member function 'static CORBA::Object* omniPy::UnMarshalObjRef(const char*, cdrStream&)':
/usr/local/include/omniORB4/internal/giopStream.h:336: error: 'omni::giopStream::operator omni::giopStrand&()' is private
.././../modules/pyObjectRef.cc:663: error: within this context
.././../modules/pyObjectRef.cc:664: error: 'class omni::giopStrand' has no member named 'biDir'
gmake[1]: *** [pyObjectRef.o] Error 1

Reported by:	pkg-fallout
2014-08-30 17:16:02 +00:00

63 lines
2.2 KiB
Makefile

# Created by: Johann Visagie <johann@egenetics.com>
# $FreeBSD$
PORTNAME= omniorb
PORTVERSION= 3.7
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/omniORBpy/omniORBpy-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= omniORBpy-${PORTVERSION}
MAINTAINER= 5u623l20@gmail.com
COMMENT= Python bindings for omniORB4, a CORBA 2.6 ORB
LICENSE= LGPL21
BROKEN= Fails to build with new omniORB
LIB_DEPENDS= libomniORB4.so:${PORTSDIR}/devel/omniORB
RUN_DEPENDS= omniidl:${PORTSDIR}/devel/omniORB
# parts of omniORB4 source tree is required to build omniORBpy;
# see also the "post-extract" target below.
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/omniORB:patch
CONFLICTS= py*-orbit-2*
OPTIONS_DEFINE= DOCS EXAMPLES
PLIST_SUB= SONUM=${PORTVERSION:C/.*\.//}
CONFIGURE_WRKSRC= ${WRKSRC}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
OMNIORB_WRKSRC!= cd ${.CURDIR}/../omniORB && ${MAKE} -V WRKSRC
USE_PYTHON= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
USES= gmake tar:bzip2
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE}
pre-configure:
@${MKDIR} ${CONFIGURE_WRKSRC}
@cd ${OMNIORB_WRKSRC} && ${FIND} idl | ${CPIO} --quiet -pdum ${WRKSRC}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
@${MKDIR} ${STAGEDIR}${DOCSDIR}/tex
${INSTALL_DATA} ${WRKSRC}/doc/omniORBpy.* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/omniORBpy/* ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/tex/* ${STAGEDIR}${DOCSDIR}/tex
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${FIND} . \
| ${CPIO} --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('CosNaming/__init__.py',None,'CosNaming/__init__.pyc',True)"
cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('CosNaming__POA/__init__.py',None,'CosNaming__POA/__init__.pyc',True)"
cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('omniidl_be/python.py',None,'omniidl_be/python.pyc',True)"
.include <bsd.port.mk>