Index: branches/2018Q1/misc/sword/Makefile =================================================================== --- branches/2018Q1/misc/sword/Makefile (revision 459274) +++ branches/2018Q1/misc/sword/Makefile (revision 459275) @@ -1,59 +1,63 @@ # Created by: Willem van Engen # $FreeBSD$ PORTNAME= sword PORTVERSION= 1.7.4 PORTREVISION= 9 CATEGORIES= misc MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \ http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/ MAINTAINER= tabthorpe@FreeBSD.org COMMENT= Framework for manipulating Bible texts LICENSE= GPLv2 BUILD_DEPENDS= cppunit-config:devel/cppunit -BROKEN_FreeBSD_12= does not build on 12.X +# Workaround for for FreeBSD_11+. +BUILD_DEPENDS+= clang38:lang/clang38 +CC= clang38 +CXX= clang++38 + BROKEN_powerpc64= does not compile: libicui18n.so: undefined reference to __cxa_throw_bad_array_new_length GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-conf --with-zlib INSTALL_TARGET= install-strip USES= gmake libtool pathfix pkgconfig USE_LDCONFIG= yes SUB_FILES= pkg-message PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= CURL CLUCENE CLUCENE_DESC= Include indexing capability OPTIONS_DEFAULT=CURL CLUCENE .include .if ${PORT_OPTIONS:MCURL} LIB_DEPENDS= libcurl.so:ftp/curl CONFIGURE_ARGS+= --with-curl .else CONFIGURE_ARGS+= --without-curl .endif .if ${PORT_OPTIONS:MCLUCENE} LIB_DEPENDS+= libclucene-core.so:textproc/clucene \ libicudata.so:devel/icu CONFIGURE_ARGS+= --with-clucene=${LOCALBASE} --with-icu .else CONFIGURE_ARGS+= --without-clucene --without-icu .endif post-patch: @${REINPLACE_CMD} 's|-O3||' ${WRKSRC}/configure post-install: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install_config) ${MV} ${STAGEDIR}${PREFIX}/etc/sword.conf \ ${STAGEDIR}${PREFIX}/etc/sword.conf.sample .include Index: branches/2018Q1 =================================================================== --- branches/2018Q1 (revision 459274) +++ branches/2018Q1 (revision 459275) Property changes on: branches/2018Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r459270