svn commit: r515060 - in head/textproc/rubygem-sassc: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Oct 20 17:21:42 UTC 2019
Author: sunpoet
Date: Sun Oct 20 17:21:41 2019
New Revision: 515060
URL: https://svnweb.freebsd.org/changeset/ports/515060
Log:
Disable optimization
- Bump PORTREVISION for package change
PR: 241063
Submitted by: swills
Modified:
head/textproc/rubygem-sassc/Makefile
head/textproc/rubygem-sassc/files/patch-ext-extconf.rb
Modified: head/textproc/rubygem-sassc/Makefile
==============================================================================
--- head/textproc/rubygem-sassc/Makefile Sun Oct 20 17:21:36 2019 (r515059)
+++ head/textproc/rubygem-sassc/Makefile Sun Oct 20 17:21:41 2019 (r515060)
@@ -3,6 +3,7 @@
PORTNAME= sassc
PORTVERSION= 2.2.1
+PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
Modified: head/textproc/rubygem-sassc/files/patch-ext-extconf.rb
==============================================================================
--- head/textproc/rubygem-sassc/files/patch-ext-extconf.rb Sun Oct 20 17:21:36 2019 (r515059)
+++ head/textproc/rubygem-sassc/files/patch-ext-extconf.rb Sun Oct 20 17:21:41 2019 (r515060)
@@ -1,11 +1,21 @@
---- ext/extconf.rb.orig 2019-09-07 21:32:44 UTC
+--- ext/extconf.rb.orig 2019-10-20 13:40:05 UTC
+++ ext/extconf.rb
-@@ -28,7 +28,7 @@ end
- if enable_config('lto', true)
- $CFLAGS << ' -flto'
- $CXXFLAGS << ' -flto'
-- $LDFLAGS << ' -flto'
-+ $LDFLAGS << ' -flto -fuse-ld=lld'
+@@ -19,18 +19,6 @@ if enable_config('static-stdlib', false)
+ $LDFLAGS << ' -static-libgcc -static-libstdc++'
end
+-# 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)
+- $CFLAGS << ' -flto'
+- $CXXFLAGS << ' -flto'
+- $LDFLAGS << ' -flto'
+-end
+-
# Disable noisy compilation warnings.
+ $warnflags = ''
+ $CFLAGS.gsub!(/[\s+](-ansi|-std=[^\s]+)/, '')
More information about the svn-ports-head
mailing list