summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-21 19:47:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-21 19:47:18 +0000
commit28c0fb6f471717af0d0170b3019c5d5cf44d4cfe (patch)
tree4b2a268e030fea06fa6031977c164a59a2cc5573
parentUpdate to 3.18.0 (diff)
Update to 2.3.0
Changes: https://github.com/sass/sassc-ruby/blob/master/CHANGELOG.md
Notes
Notes: svn path=/head/; revision=532391
-rw-r--r--textproc/rubygem-sassc/Makefile3
-rw-r--r--textproc/rubygem-sassc/distinfo6
-rw-r--r--textproc/rubygem-sassc/files/patch-ext-extconf.rb16
3 files changed, 9 insertions, 16 deletions
diff --git a/textproc/rubygem-sassc/Makefile b/textproc/rubygem-sassc/Makefile
index 43d474c552a9..d4f50503a61f 100644
--- a/textproc/rubygem-sassc/Makefile
+++ b/textproc/rubygem-sassc/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sassc
-PORTVERSION= 2.2.1
-PORTREVISION= 1
+PORTVERSION= 2.3.0
CATEGORIES= textproc rubygems
MASTER_SITES= RG
diff --git a/textproc/rubygem-sassc/distinfo b/textproc/rubygem-sassc/distinfo
index 89cb1dea3322..80a530214679 100644
--- a/textproc/rubygem-sassc/distinfo
+++ b/textproc/rubygem-sassc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1569591598
-SHA256 (rubygem/sassc-2.2.1.gem) = 3fea2409ee4a890f8c8ebc4fb6163fe2c58ef6be7b7a586c64b0fc924f8b7625
-SIZE (rubygem/sassc-2.2.1.gem) = 302080
+TIMESTAMP = 1587445490
+SHA256 (rubygem/sassc-2.3.0.gem) = 6f0e15b0aab4b76ef29404b1d27b07850bd66c0d690eab05376cc389d6b6eee3
+SIZE (rubygem/sassc-2.3.0.gem) = 299008
diff --git a/textproc/rubygem-sassc/files/patch-ext-extconf.rb b/textproc/rubygem-sassc/files/patch-ext-extconf.rb
index f93016738474..ed6bb3e919bf 100644
--- a/textproc/rubygem-sassc/files/patch-ext-extconf.rb
+++ b/textproc/rubygem-sassc/files/patch-ext-extconf.rb
@@ -1,16 +1,10 @@
---- ext/extconf.rb.orig 2019-10-20 13:40:05 UTC
+--- ext/extconf.rb.orig 2020-04-20 21:57:28 UTC
+++ ext/extconf.rb
-@@ -19,18 +19,6 @@ if enable_config('static-stdlib', false)
- $LDFLAGS << ' -static-libgcc -static-libstdc++'
- end
+@@ -29,12 +29,6 @@ end
+ # see: https://github.com/sass/sassc-ruby/issues/148
+ enable_lto_by_default = (Gem::Platform.local.os == "darwin" && !ENV['NIX_CC'].nil?)
--# Set to false when building binary gems
--if enable_config('march-tune-native', true)
-- $CFLAGS << ' -march=native -mtune=native'
-- $CXXFLAGS << ' -march=native -mtune=native'
--end
--
--if enable_config('lto', true)
+-if enable_config('lto', enable_lto_by_default)
- $CFLAGS << ' -flto'
- $CXXFLAGS << ' -flto'
- $LDFLAGS << ' -flto'