Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 21:48:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504897 - head/databases/xapian-bindings12
Message-ID:  <201906222148.x5MLmorO077621@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jun 22 21:48:49 2019
New Revision: 504897
URL: https://svnweb.freebsd.org/changeset/ports/504897

Log:
  Remove RUBY option and unbreak this port

Modified:
  head/databases/xapian-bindings12/Makefile
  head/databases/xapian-bindings12/pkg-plist

Modified: head/databases/xapian-bindings12/Makefile
==============================================================================
--- head/databases/xapian-bindings12/Makefile	Sat Jun 22 21:48:44 2019	(r504896)
+++ head/databases/xapian-bindings12/Makefile	Sat Jun 22 21:48:49 2019	(r504897)
@@ -15,26 +15,22 @@ COMMENT=	Bindings allowing Xapian to be used from vari
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_RUBY25=	yes
-
 LIB_DEPENDS=	libxapian.so:databases/xapian-core12
 
 CONFLICTS=	xapian-bindings
 
-OPTIONS_DEFINE=	DOCS LUA PYTHON RUBY
-OPTIONS_DEFAULT=PYTHON RUBY
+OPTIONS_DEFINE=	DOCS LUA PYTHON
+OPTIONS_DEFAULT=PYTHON
 OPTIONS_SUB=	yes
 
-# BROKEN: ruby.h: error: wrong number of arguments specified for 'deprecated' attribute
-OPTIONS_EXCLUDE_powerpc64=	RUBY
-
 PORTSCOUT=	limitw:1,even
 
+USES=		libtool tar:xz
+
 CONFIGURE_ARGS=	--datarootdir=${DATADIR} --docdir=${DOCSDIR} \
-		--without-csharp --without-java --without-perl --without-tcl
+		--without-csharp --without-java --without-perl --without-ruby --without-tcl
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		libtool tar:xz
 
 PORTDOCS=	*
 
@@ -44,12 +40,8 @@ LUA_USES=		lua
 PYTHON_CONFIGURE_ENV=	PYTHON_LIB=${PYTHON_SITELIBDIR}
 PYTHON_CONFIGURE_WITH=	python
 PYTHON_USES=		python:2.7
-RUBY_CONFIGURE_WITH=	ruby
-RUBY_USE=		RUBY=yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
-# do not install rdoc
-	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' ${WRKSRC}/ruby/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/databases/xapian-bindings12/pkg-plist
==============================================================================
--- head/databases/xapian-bindings12/pkg-plist	Sat Jun 22 21:48:44 2019	(r504896)
+++ head/databases/xapian-bindings12/pkg-plist	Sat Jun 22 21:48:49 2019	(r504897)
@@ -3,5 +3,3 @@
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/__init__.pyc
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/__init__.pyo
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/xapian/_xapian.so
-%%RUBY%%%%RUBY_SITELIBDIR%%/xapian.rb
-%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/_xapian.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906222148.x5MLmorO077621>