aboutsummaryrefslogtreecommitdiff
path: root/databases/xapian-bindings12
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-06-22 21:48:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-06-22 21:48:49 +0000
commit15c2debbddf1d97fe377fa5a039e0ec1a63220d7 (patch)
tree47bdd06b40001ea44eb976542fb98fd9f316ac33 /databases/xapian-bindings12
parentefa2aa683111d64306c555239d9c48f4cc083b25 (diff)
downloadports-15c2debbddf1d97fe377fa5a039e0ec1a63220d7.tar.gz
ports-15c2debbddf1d97fe377fa5a039e0ec1a63220d7.zip
Remove RUBY option and unbreak this port
Notes
Notes: svn path=/head/; revision=504897
Diffstat (limited to 'databases/xapian-bindings12')
-rw-r--r--databases/xapian-bindings12/Makefile18
-rw-r--r--databases/xapian-bindings12/pkg-plist2
2 files changed, 5 insertions, 15 deletions
diff --git a/databases/xapian-bindings12/Makefile b/databases/xapian-bindings12/Makefile
index c07ce651b46f..2ee114036b0d 100644
--- a/databases/xapian-bindings12/Makefile
+++ b/databases/xapian-bindings12/Makefile
@@ -15,26 +15,22 @@ COMMENT= Bindings allowing Xapian to be used from various programming languages
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>
diff --git a/databases/xapian-bindings12/pkg-plist b/databases/xapian-bindings12/pkg-plist
index 7ba30cd6e029..5b9501ec8929 100644
--- a/databases/xapian-bindings12/pkg-plist
+++ b/databases/xapian-bindings12/pkg-plist
@@ -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