diff options
Diffstat (limited to 'net/yaz/Makefile')
-rw-r--r-- | net/yaz/Makefile | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/net/yaz/Makefile b/net/yaz/Makefile index 20b15f03db8f..b8634223868c 100644 --- a/net/yaz/Makefile +++ b/net/yaz/Makefile @@ -1,8 +1,8 @@ PORTNAME= yaz -DISTVERSION= 5.31.1 -PORTREVISION= 8 +DISTVERSION= 5.35.0 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= https://ftp.indexdata.dk/pub/yaz/ +MASTER_SITES= https://ftp.indexdata.dk/pub/${PORTNAME}/ MAINTAINER= nc@FreeBSD.org COMMENT= Z39.50/SR client and API library @@ -15,19 +15,21 @@ LIB_DEPENDS= libicuuc.so:devel/icu \ libgnutls.so:security/gnutls USES= autoreconf gnome iconv libtool ncurses pathfix \ - localbase:ldflags pkgconfig readline shebangfix tcl + localbase:ldflags pkgconfig readline shebangfix tcl:build,run SHEBANG_FILES= src/yaz-asncomp USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes -MAKE_JOBS_UNSAFE= yes - GNU_CONFIGURE= yes +USE_CSTD= c89 +CFLAGS+= -Wno-error=int-conversion LIBS+= -lexecinfo PORTDOCS= * +INSTALL_TARGET= install-strip + CONFIGURE_ARGS= --enable-shared \ --enable-tcpd \ --with-iconv=${ICONV_PREFIX} \ @@ -39,17 +41,10 @@ OPTIONS_DEFINE= DOCS MEMCACHED REDIS MEMCACHED_DESC= Memcached distributed cache system support -MEMCACHED_CONFIGURE_WITH= memcached MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached +MEMCACHED_CONFIGURE_WITH= memcached -REDIS_CONFIGURE_WITH= redis REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis - -post-configure: - @${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/share/man,' \ - ${WRKSRC}/doc/Makefile - -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* +REDIS_CONFIGURE_WITH= redis .include <bsd.port.mk> |