aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-08-13 03:46:58 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-08-13 03:46:58 +0800
commit4a17ff658eaab79a2d91862180bd8da3837b26c9 (patch)
tree18f94d9a5e5409a6a03a58e256c4e6d8d630401f
parentfd9bbf23b01cd5a48b6a50d1060b88c02797dbea (diff)
downloadfreebsd-ports-gnome-4a17ff658eaab79a2d91862180bd8da3837b26c9.tar.gz
freebsd-ports-gnome-4a17ff658eaab79a2d91862180bd8da3837b26c9.tar.zst
freebsd-ports-gnome-4a17ff658eaab79a2d91862180bd8da3837b26c9.zip
Revert rubygem-mini_portile2 change in r502877
- Bump PORTREVISION for dependency change We do not need mini_portile/mini_portile2. It was removed since r355100 and r494447. mini_portile2 is used to download and build the libraries which is already handled by our ports framework very well. Furthermore, it is not needed when using system libraries (CONFIGURE_ARGS=--use-system-libraries). Reference: https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html https://github.com/sparklemotion/nokogiri/blob/v1.10.3/ext/nokogiri/extconf.rb#L447-L471
-rw-r--r--textproc/rubygem-nokogiri/Makefile7
-rw-r--r--textproc/rubygem-nokogiri/files/patch-gemspec10
2 files changed, 14 insertions, 3 deletions
diff --git a/textproc/rubygem-nokogiri/Makefile b/textproc/rubygem-nokogiri/Makefile
index e485d3d33bce..ce89a453dba8 100644
--- a/textproc/rubygem-nokogiri/Makefile
+++ b/textproc/rubygem-nokogiri/Makefile
@@ -2,7 +2,7 @@
PORTNAME= nokogiri
PORTVERSION= 1.10.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@@ -12,11 +12,12 @@ COMMENT= HTML, XML, SAX, and Reader parser
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
+# Do not add mini_portile2 to RUN_DEPENDS. Read ext/nokogiri/extconf.rb
+# and https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
-RUN_DEPENDS= rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config \
- rubygem-mini_portile2>=2.4.0:devel/rubygem-mini_portile2
+RUN_DEPENDS= rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config
USES= gem gnome pkgconfig gettext-runtime
USE_GNOME= libxml2 libxslt
diff --git a/textproc/rubygem-nokogiri/files/patch-gemspec b/textproc/rubygem-nokogiri/files/patch-gemspec
new file mode 100644
index 000000000000..74be70e357f6
--- /dev/null
+++ b/textproc/rubygem-nokogiri/files/patch-gemspec
@@ -0,0 +1,10 @@
+--- nokogiri.gemspec.orig 2019-08-12 17:41:47 UTC
++++ nokogiri.gemspec
+@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<mini_portile2>.freeze, ["~> 2.4.0"])
+ s.add_development_dependency(%q<concourse>.freeze, ["~> 0.24"])
+ s.add_development_dependency(%q<hoe-bundler>.freeze, ["~> 1.2"])
+ s.add_development_dependency(%q<hoe-debugging>.freeze, ["~> 2.0"])