summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/rubygem-transactionsimple/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/rubygem-transactionsimple/Makefile b/devel/rubygem-transactionsimple/Makefile
index 8e97e9315ba6..26b22175a95c 100644
--- a/devel/rubygem-transactionsimple/Makefile
+++ b/devel/rubygem-transactionsimple/Makefile
@@ -14,9 +14,10 @@ DISTNAME= transaction-simple-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Simple object transaction support
-BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/hoe-1.2.1.gemspec:${PORTSDIR}/devel/rubygem-hoe
+BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/hoe-${HOE_VERSION}.gemspec:${PORTSDIR}/devel/rubygem-hoe
RUN_DEPENDS= ${BUILD_DEPENDS}
.include <bsd.port.pre.mk>
+HOE_VERSION!= (cd ${PORTSDIR}/devel/rubygem-hoe && make -V PORTVERSION)
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
.include <bsd.port.post.mk>