mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Fix build on current
- Fix an issue with configure - While I'm here: minor style changes, get rid of alpha mentioning Submitted by: Alex Lyashkov (Umka@RusNet) Reported by: kris mail
This commit is contained in:
parent
65fdea963d
commit
f944cc91a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173219
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= mico
|
||||
PORTVERSION= 2.3.12
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.mico.org/
|
||||
|
||||
@ -16,15 +17,14 @@ PATCHFILES= mico-2.3.12-secfix1.diff
|
||||
MAINTAINER= sem@FreeBSD.org
|
||||
COMMENT= Secure, reliable, production-quality, standards-based CORBA middleware
|
||||
|
||||
PATCH_DIST_STRIP=-p1
|
||||
PATCH_DIST_STRIP= -p1
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOTOOLS= autoconf:259
|
||||
USE_AUTOTOOLS= autoconf:259
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
#CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} \
|
||||
# CXXFLAGS="${CXXFLAGS}" CPP=${CPP}
|
||||
CONFIGURE_ENV+= EGREP=`which egrep`
|
||||
|
||||
OPTIONS= NOSERVICES "Without services, plain ORB" off \
|
||||
SSL "Build with SSL" on \
|
||||
@ -45,7 +45,7 @@ OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options
|
||||
.endif
|
||||
# ================
|
||||
|
||||
USE_GCC= 3.4
|
||||
USE_GCC= 3.4+
|
||||
|
||||
CONFIGURE_ARGS= --enable-cd --disable-mini-stl --enable-threads
|
||||
|
||||
@ -108,15 +108,6 @@ MAN8= ird.8 micod.8 nsd.8
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700019
|
||||
BROKEN= Does not compile on FreeBSD >= 7.0
|
||||
.endif
|
||||
|
||||
# Does not build on alpha 4.x
|
||||
.if ${OSVERSION} < 500000
|
||||
NOT_FOR_ARCHS= alpha
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s#\"-O2\"#\"${CFLAGS}\"#;s#\"-pthread#\"${PTHREAD_LIBS}#" ${WRKSRC}/configure.in
|
||||
.if ${OSVERSION} < 500035
|
||||
|
13
devel/mico/files/patch-orb-ssl.cc
Normal file
13
devel/mico/files/patch-orb-ssl.cc
Normal file
@ -0,0 +1,13 @@
|
||||
--- orb/ssl.cc.orig Sun Sep 17 01:11:12 2006
|
||||
+++ orb/ssl.cc Sun Sep 17 01:11:36 2006
|
||||
@@ -800,9 +800,7 @@
|
||||
if (!fp)
|
||||
return NULL;
|
||||
|
||||
- x509 = (X509 *)PEM_ASN1_read ((char *(*)())d2i_X509,
|
||||
- PEM_STRING_X509,
|
||||
- fp, NULL, NULL,NULL);
|
||||
+ x509 = PEM_read_X509 (fp, NULL, NULL,NULL);
|
||||
|
||||
if (x509 == NULL) {
|
||||
//ERR_print_errors_fp (stderr);
|
Loading…
Reference in New Issue
Block a user