Index: head/databases/py-xapian/Makefile =================================================================== --- head/databases/py-xapian/Makefile (revision 459928) +++ head/databases/py-xapian/Makefile (revision 459929) @@ -1,57 +1,58 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= xapian PORTVERSION= 1.4.5 DISTVERSIONPREFIX= bindings- CATEGORIES= databases python MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \ LOCAL/sunpoet PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python binding for Xapian LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to build: Fatal Python error: swig_pythreadstate set in XapianSWIG_Python_Thread_Allow ctor -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.8:textproc/py-sphinx@${FLAVOR} \ - xapian-core>=${PORTVERSION}:databases/xapian-core +BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core LIB_DEPENDS= libxapian.so:databases/xapian-core CONFLICTS_INSTALL= xapian-bindings12 OPTIONS_DEFINE= DOCS PORTSCOUT= limitw:1,even CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \ --enable-static \ --without-csharp --without-java --without-lua --without-perl \ --without-php --without-ruby --without-tcl GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= libtool python tar:xz USE_PYTHON= flavors PORTDOCS= * + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.8:textproc/py-sphinx@${FLAVOR} .include .if ${PYTHON_REL} > 3000 CONFIGURE_ARGS+=--with-python3 --without-python CONFIGURE_ENV+= PYTHON3=${PYTHON_CMD} .else CONFIGURE_ARGS+=--with-python --without-python3 CONFIGURE_ENV+= PYTHON2=${PYTHON_CMD} .endif post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure post-patch-DOCS-off: @${REINPLACE_CMD} -e 's| all-local||; s| install-data-local install-dist_exampledataDATA||' ${WRKSRC}/python/Makefile.in ${WRKSRC}/python3/Makefile.in .include Index: head/databases/py-xapian/files/patch-configure =================================================================== --- head/databases/py-xapian/files/patch-configure (nonexistent) +++ head/databases/py-xapian/files/patch-configure (revision 459929) @@ -0,0 +1,24 @@ +--- configure.orig 2017-10-16 02:32:59 UTC ++++ configure +@@ -17105,10 +17105,6 @@ $as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- if test yes = "$with_python" ; then +- as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python2 - try package python-sphinx" "$LINENO" 5 +- fi +- PYTHON2= + fi + if test -n "$PYTHON2" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON2_INC/Python.h" >&5 +@@ -17292,10 +17288,6 @@ $as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- if test yes = "$with_python3" ; then +- as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python3 - try package python3-sphinx" "$LINENO" 5 +- fi +- PYTHON3= + fi + if test -n "$PYTHON3" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON3_INC/Python.h" >&5 Property changes on: head/databases/py-xapian/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property