mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
# Created by: Ben Kaduk <kaduk@mit.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zephyr
|
|
DISTVERSION= 3.0.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= http://zephyr.1ts.org/export/2642/distribution/
|
|
|
|
MAINTAINER= kaduk-fbsd@mit.edu
|
|
COMMENT= Enterprise-scale distributed messaging system
|
|
|
|
BROKEN= unfetchable
|
|
|
|
LICENSE= MIT
|
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
|
|
|
GNU_CONFIGURE= yes
|
|
# it is an upstream bug that --with-krb5 needs a path
|
|
CONFIGURE_ARGS= --with-krb5="${KRB5_DIR}"
|
|
USES= iconv libtool readline
|
|
USE_RC_SUBR= zhm
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS_DEFINE= HEIMDAL
|
|
HEIMDAL_DESC= Link against libss.so from security/heimdal
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if empty(ICONV_LIB)
|
|
CONFIGURE_ARGS+=ac_cv_lib_iconv_libiconv_open=no
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MHEIMDAL}
|
|
BROKEN= bad depobj
|
|
LIB_DEPENDS+= libss.so.1:security/heimdal
|
|
.if defined(HEIMDAL_HOME)
|
|
KRB5_DIR?= ${HEIMDAL_HOME}
|
|
.else
|
|
KRB5_DIR?= ${LOCALBASE}
|
|
.endif
|
|
.else
|
|
LIB_DEPENDS+= libss.so.2:devel/e2fsprogs-libss
|
|
KRB5_DIR?= ${DESTDIR}/usr
|
|
.endif
|
|
|
|
# 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
|
|
|
|
.include <bsd.port.post.mk>
|