openbsd-ports/devel/mico/Makefile
landry 94b2505ecb Unbreak mico on gcc4 archs by updating it to 2.3.13.
- remove commented out FLAVORS, and merge ssl FLAVOR into main package
- build regress tests (not everything is working, but at least they're here)
- add native-connect:permit to systrace.filter, idl absolutely wants to
  connect to the nearest dns server during build. Gross.
- remove shitload of now unneeded patches
- some tweaks from ajacoutot@/jasper@

Build-tested on :
- gcc3 archs: arm (fails) by sthen@, alpha by naddy@, mips64 by jasper@
- gcc4 archs: sparc64/amd64/macppc by my$self
ok jasper@
2010-09-22 08:42:53 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2010/09/22 08:42:53 landry Exp $
NOT_FOR_ARCHS= arm
COMMENT= free and complete CORBA-compliant implementation
V= 2.3.13
DISTNAME= mico-${V}
CATEGORIES= devel
# The build framework accommodates only a single shared lib extension.
SHARED_LIBS= mico${V} ${LIB_VERSION} \
micoaux${V} ${LIB_VERSION} \
micocoss${V} ${LIB_VERSION} \
micoir${V} ${LIB_VERSION} \
micox${V} ${LIB_VERSION}
LIB_VERSION= 0.0
HOMEPAGE= http://www.mico.org/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mico/}
# LGPL/GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses readline stdc++
WANTLIB+= crypto ssl ICE SM X11 Xt pthread
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LIB_VERSION=${LIB_VERSION}
CONFIGURE_ARGS+= --disable-optimize
CONFIGURE_ARGS+= --with-ssl
SUBST_VARS+= V
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/admin
FAKE_FLAGS= INSTDIR=${WRKINST}${PREFIX} \
SHARED_INSTDIR=${DESTDIR}${PREFIX}/share
WRKDIST= ${WRKDIR}/mico
pre-build:
cd ${WRKSRC}/idl && ${GMAKE} generate
pre-regress:
cd ${WRKSRC}/test && ${GMAKE} prg
.include <bsd.port.mk>