Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2020 11:21:58 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r539417 - head/textproc/rubygem-elasticsearch6
Message-ID:  <202006171121.05HBLw8S010515@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Wed Jun 17 11:21:58 2020
New Revision: 539417
URL: https://svnweb.freebsd.org/changeset/ports/539417

Log:
  Use a more robust way to define the dependency.
  Suggested by mat, thanks for this.

Modified:
  head/textproc/rubygem-elasticsearch6/Makefile

Modified: head/textproc/rubygem-elasticsearch6/Makefile
==============================================================================
--- head/textproc/rubygem-elasticsearch6/Makefile	Wed Jun 17 11:08:11 2020	(r539416)
+++ head/textproc/rubygem-elasticsearch6/Makefile	Wed Jun 17 11:21:58 2020	(r539417)
@@ -14,9 +14,8 @@ COMMENT=	Ruby integrations for Elasticsearch
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-# Fix this again if 6.8.2 is released this should be an = restriction
-RUN_DEPENDS=	rubygem-elasticsearch-api6>=${PORTVERSION}<6.8.2:textproc/rubygem-elasticsearch-api6 \
-		rubygem-elasticsearch-transport6>=${PORTVERSION}<6.8.2:textproc/rubygem-elasticsearch-transport6
+RUN_DEPENDS=	rubygem-elasticsearch-api6>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-elasticsearch-api6 \
+		rubygem-elasticsearch-transport6>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-elasticsearch-transport6
 
 USES=		gem
 USE_RUBY=	yes



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