Date: Sun, 11 May 2014 17:05:54 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353719 - in head/textproc/redland-bindings: . files Message-ID: <201405111705.s4BH5sJG079752@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sun May 11 17:05:54 2014 New Revision: 353719 URL: http://svnweb.freebsd.org/changeset/ports/353719 QAT: https://qat.redports.org/buildarchive/r353719/ Log: Update to 1.0.17.1. Release notes: http://librdf.org/bindings/RELEASE.html#rel1_0_17_1 This commit also brings some packaging fixes: the Perl bindings' .packlist does not reference the staging directory, and the Ruby bindings' generated shared library has the correct suffix. MFH: 2014Q2 Added: head/textproc/redland-bindings/files/ head/textproc/redland-bindings/files/patch-configure (contents, props changed) Modified: head/textproc/redland-bindings/Makefile head/textproc/redland-bindings/distinfo head/textproc/redland-bindings/pkg-plist Modified: head/textproc/redland-bindings/Makefile ============================================================================== --- head/textproc/redland-bindings/Makefile Sun May 11 16:47:58 2014 (r353718) +++ head/textproc/redland-bindings/Makefile Sun May 11 17:05:54 2014 (r353719) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= redland-bindings -PORTVERSION= 1.0.16.1 -CATEGORIES?= textproc +PORTVERSION= 1.0.17.1 +CATEGORIES= textproc MASTER_SITES= http://download.librdf.org/source/ -MAINTAINER?= kde@FreeBSD.org -COMMENT?= Language bindings for the Redland package +MAINTAINER= kde@FreeBSD.org +COMMENT= Language bindings for the Redland package # Even though GPLv3 is not explicitly mentioned in the port's LICENSE.html, one # of its licenses is "GPLv2 or newer", which includes GPLv3. @@ -28,7 +28,7 @@ PERL_USES= perl5 PHP_CONFIGURE_WITH= php PHP_USE= PHP=yes PHP_BUILD=yes PYTHON_CONFIGURE_WITH= python -PYTHON_USE= PYTHON=2.5+ +PYTHON_USE= PYTHON=yes RUBY_CONFIGURE_WITH= ruby RUBY_USE= RUBY=yes @@ -37,6 +37,7 @@ RUBY_USE= RUBY=yes post-install: .if ${PORT_OPTIONS:MPERL} ${RM} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/mach/perllocal.pod + ${SED} -i '' -e 's,^${STAGEDIR},,g' ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/RDF/Redland/CORE/.packlist .endif .include <bsd.port.mk> Modified: head/textproc/redland-bindings/distinfo ============================================================================== --- head/textproc/redland-bindings/distinfo Sun May 11 16:47:58 2014 (r353718) +++ head/textproc/redland-bindings/distinfo Sun May 11 17:05:54 2014 (r353719) @@ -1,2 +1,2 @@ -SHA256 (redland-bindings-1.0.16.1.tar.gz) = 065037ef61e9b78f642e75b9c2a42700eb1a87d903f2f9963d86591c7d916826 -SIZE (redland-bindings-1.0.16.1.tar.gz) = 859166 +SHA256 (redland-bindings-1.0.17.1.tar.gz) = ff72b587ab55f09daf81799cb3f9d263708fad5df7a5458f0c28566a2563b7f5 +SIZE (redland-bindings-1.0.17.1.tar.gz) = 933290 Added: head/textproc/redland-bindings/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/redland-bindings/files/patch-configure Sun May 11 17:05:54 2014 (r353719) @@ -0,0 +1,42 @@ +Compatibility with Ruby < 2.0, where RbConfig::CONFIG['rubyarchhdrdir'] does not exist. +Submitted upstream: https://github.com/dajobe/redland-bindings/pull/8 + +Fetch redland.so's suffix from the right variable. +Submitted upstream: https://github.com/dajobe/redland-bindings/pull/9 +--- configure.orig 2014-05-11 17:39:24.000000000 +0300 ++++ configure 2014-05-11 17:39:27.000000000 +0300 +@@ -12297,6 +12297,7 @@ + RUBY_ARCHDIR=`$RUBY -rrbconfig -e "print RbConfig::CONFIG['archdir']"` + ruby_install_dir_config=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG['$ruby_install_dir_variable']"` + ruby_header_dir_config=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG['rubyhdrdir']"` ++ ruby_arch_config=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG['arch']"` + ruby_arch_header_dir_config=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG['rubyarchhdrdir']"` + ruby_arch_install_dir_config=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG['$ruby_arch_install_dir_variable']"` + librubyarg_shared=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG['LIBRUBYARG_SHARED']"` +@@ -12328,9 +12329,15 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking Ruby headers dir" >&5 + $as_echo_n "checking Ruby headers dir... " >&6; } + if test "X$ruby_header_dir_config" != "Xnil" -a "X$ruby_header_dir_config" != "X"; then +- RUBY_INCLUDES="$RUBY_INCLUDES -I$ruby_header_dir_config -I$ruby_arch_header_dir_config" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_INCLUDES from RbConfig::CONFIG rubyhdrdir and rubyarchhdrdir" >&5 ++ if test -d "$ruby_arch_header_dir_config"; then ++ RUBY_INCLUDES="$RUBY_INCLUDES -I$ruby_header_dir_config -I$ruby_arch_header_dir_config" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_INCLUDES from RbConfig::CONFIG rubyhdrdir and rubyarchhdrdir" >&5 + $as_echo "$RUBY_INCLUDES from RbConfig::CONFIG rubyhdrdir and rubyarchhdrdir" >&6; } ++ elif test -d "$ruby_header_dir_config/$ruby_arch_config"; then ++ RUBY_INCLUDES="$RUBY_INCLUDES -I$ruby_header_dir_config -I$ruby_header_dir_config/$ruby_arch_config" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_INCLUDES from RbConfig::CONFIG rubyhdrdir and arch" >&5 ++$as_echo "$RUBY_INCLUDES from RbConfig::CONFIG rubyhdrdir and arch" >&6; } ++ fi + else + if test -r "$RUBY_ARCHDIR/ruby.h"; then + RUBY_INCLUDES="$RUBY_INCLUDES -I$RUBY_ARCHDIR" +@@ -12371,7 +12378,7 @@ + as_fn_error $? "No such RUBY linking type $ruby_linking" "$LINENO" 5 + ;; + esac +- RUBY_SO_SUFFIX=$php_linking ++ RUBY_SO_SUFFIX=$ruby_linking + { $as_echo "$as_me:${as_lineno-$LINENO}: checking Ruby Linking" >&5 + $as_echo_n "checking Ruby Linking... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: compile '$RUBY_CFLAGS' link '$RUBY_LDFLAGS' suffix $RUBY_SO_SUFFIX" >&5 Modified: head/textproc/redland-bindings/pkg-plist ============================================================================== --- head/textproc/redland-bindings/pkg-plist Sun May 11 16:47:58 2014 (r353718) +++ head/textproc/redland-bindings/pkg-plist Sun May 11 17:05:54 2014 (r353719) @@ -37,8 +37,9 @@ %%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RDF/Redland/CORE/CORE.bs %%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/RDF/Redland/CORE/CORE.so %%PHP%%lib/php/%%PHP_EXT_DIR%%/redland.so -%%PYTHON%%%%PYTHON_SITELIBDIR%%/Redland.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/RDF.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/Redland.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/_Redland.so %%RUBY%%%%RUBY_ARCHLIBDIR%%/redland.so %%RUBY%%%%RUBY_LIBDIR%%/rdf/redland/constants.rb %%RUBY%%%%RUBY_LIBDIR%%/rdf/redland/convert_owl.rb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405111705.s4BH5sJG079752>