2013-03-05 17:07:43 +00:00
|
|
|
# Created by: Ben Kaduk <kaduk@mit.edu>
|
2010-09-03 15:43:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zephyr
|
2011-03-18 03:22:13 +00:00
|
|
|
DISTVERSION= 3.0.1
|
2019-04-09 14:04:49 +00:00
|
|
|
PORTREVISION= 4
|
2010-09-03 15:43:42 +00:00
|
|
|
CATEGORIES= net-im
|
2011-03-18 03:22:13 +00:00
|
|
|
MASTER_SITES= http://zephyr.1ts.org/export/2642/distribution/
|
2010-09-03 15:43:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= kaduk-fbsd@mit.edu
|
2013-08-09 11:41:12 +00:00
|
|
|
COMMENT= Enterprise-scale distributed messaging system
|
2010-09-03 15:43:42 +00:00
|
|
|
|
2019-11-06 14:00:19 +00:00
|
|
|
BROKEN= unfetchable
|
|
|
|
|
2010-09-03 15:43:42 +00:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2016-11-10 01:21:43 +00:00
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
|
|
|
|
2013-08-09 11:41:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2015-04-15 08:20:27 +00:00
|
|
|
# it is an upstream bug that --with-krb5 needs a path
|
|
|
|
CONFIGURE_ARGS= --with-krb5="${KRB5_DIR}"
|
2014-08-17 00:37:51 +00:00
|
|
|
USES= iconv libtool readline
|
2010-09-03 15:43:42 +00:00
|
|
|
USE_RC_SUBR= zhm
|
|
|
|
USE_LDCONFIG= yes
|
2014-07-09 13:19:45 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2013-08-09 11:41:12 +00:00
|
|
|
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2010-09-03 15:43:42 +00:00
|
|
|
|
2013-03-05 17:07:43 +00:00
|
|
|
OPTIONS_DEFINE= HEIMDAL
|
2013-08-09 11:41:12 +00:00
|
|
|
HEIMDAL_DESC= Link against libss.so from security/heimdal
|
2010-09-03 15:43:42 +00:00
|
|
|
|
2015-04-15 08:20:27 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if empty(ICONV_LIB)
|
|
|
|
CONFIGURE_ARGS+=ac_cv_lib_iconv_libiconv_open=no
|
|
|
|
.endif
|
2010-09-03 15:43:42 +00:00
|
|
|
|
2013-03-05 17:07:43 +00:00
|
|
|
.if ${PORT_OPTIONS:MHEIMDAL}
|
2012-06-10 10:41:58 +00:00
|
|
|
BROKEN= bad depobj
|
2016-04-01 14:16:16 +00:00
|
|
|
LIB_DEPENDS+= libss.so.1:security/heimdal
|
2010-09-03 15:43:42 +00:00
|
|
|
.if defined(HEIMDAL_HOME)
|
|
|
|
KRB5_DIR?= ${HEIMDAL_HOME}
|
|
|
|
.else
|
|
|
|
KRB5_DIR?= ${LOCALBASE}
|
|
|
|
.endif
|
|
|
|
.else
|
2016-04-01 14:16:16 +00:00
|
|
|
LIB_DEPENDS+= libss.so.2:devel/e2fsprogs-libss
|
2010-09-03 15:43:42 +00:00
|
|
|
KRB5_DIR?= ${DESTDIR}/usr
|
|
|
|
.endif
|
|
|
|
|
2013-08-09 11:41:12 +00:00
|
|
|
# try to fix parallel (-jX) builds: add missing inter-source dependencies
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^eval\.o/,$$s,port\.h,& string_stack.h new_string.h, ; \
|
|
|
|
s,_aux\.h,.h,' ${WRKSRC}/zwgc/Makefile.in
|
|
|
|
|
2015-04-15 08:20:27 +00:00
|
|
|
.include <bsd.port.post.mk>
|