aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormmoll <mmoll@FreeBSD.org>2015-06-07 22:46:31 +0800
committermmoll <mmoll@FreeBSD.org>2015-06-07 22:46:31 +0800
commit5e65a464d0c25d65dbb1a4e37d8c633f49d1455e (patch)
treea6b483d06e4d06b54a770c2109619e76ca18d9ea /devel
parentfd2ba7420d65b14ea30b6ec43f73d7072afa32d2 (diff)
downloadfreebsd-ports-graphics-5e65a464d0c25d65dbb1a4e37d8c633f49d1455e.tar.gz
freebsd-ports-graphics-5e65a464d0c25d65dbb1a4e37d8c633f49d1455e.tar.zst
freebsd-ports-graphics-5e65a464d0c25d65dbb1a4e37d8c633f49d1455e.zip
devel/rubygem-devise: fix PR 200625 correctly
This reverts r388685 and modifies the gemspec to not include a file that caused the offending html file to get generated in the rdoc step. Bump portrevision because now the rails dependencies are getting pulled in correctly again. PR: 200625 Differential Revision: https://reviews.freebsd.org/D2739 Approved by: mat (mentor)
Diffstat (limited to 'devel')
-rw-r--r--devel/rubygem-devise/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/rubygem-devise/Makefile b/devel/rubygem-devise/Makefile
index c0ab3d68669..023142d2be3 100644
--- a/devel/rubygem-devise/Makefile
+++ b/devel/rubygem-devise/Makefile
@@ -3,6 +3,7 @@
PORTNAME= devise
PORTVERSION= 3.5.1
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -26,11 +27,12 @@ OPTIONS_DEFAULT= RAILS3
RAILS3_DESC= Use Rails 3 as backend
RAILS4_DESC= Use Rails 4 as backend
-.include <bsd.port.options.mk>
-
RAILS3_RUN_DEPENDS= rubygem-railties>=3.2.6:${PORTSDIR}/www/rubygem-railties \
rubygem-responders-rails3>=0:${PORTSDIR}/www/rubygem-responders-rails3
RAILS4_RUN_DEPENDS= rubygem-railties4>=4.1.1:${PORTSDIR}/www/rubygem-railties4 \
rubygem-responders>=0:${PORTSDIR}/www/rubygem-responders
+post-patch:
+ @${REINPLACE_CMD} -e 's|, "test/rails_app/config/routes.rb"||' ${WRKSRC}/${PORTNAME}.gemspec
+
.include <bsd.port.mk>