Index: head/textproc/rubygem-sassc/Makefile =================================================================== --- head/textproc/rubygem-sassc/Makefile (revision 532390) +++ head/textproc/rubygem-sassc/Makefile (revision 532391) @@ -1,21 +1,20 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= sassc -PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTVERSION= 2.3.0 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Use libsass with Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-ffi>=1.9<2:devel/rubygem-ffi USES= gem gmake USE_RUBY= yes .include Index: head/textproc/rubygem-sassc/distinfo =================================================================== --- head/textproc/rubygem-sassc/distinfo (revision 532390) +++ head/textproc/rubygem-sassc/distinfo (revision 532391) @@ -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 Index: head/textproc/rubygem-sassc/files/patch-ext-extconf.rb =================================================================== --- head/textproc/rubygem-sassc/files/patch-ext-extconf.rb (revision 532390) +++ head/textproc/rubygem-sassc/files/patch-ext-extconf.rb (revision 532391) @@ -1,21 +1,15 @@ ---- 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' -end - # Disable noisy compilation warnings. $warnflags = '' $CFLAGS.gsub!(/[\s+](-ansi|-std=[^\s]+)/, '')