Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2019 16:13:23 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r515204 - in branches/2019Q4/textproc/rubygem-sassc: . files
Message-ID:  <201910221613.x9MGDNOr059130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Oct 22 16:13:23 2019
New Revision: 515204
URL: https://svnweb.freebsd.org/changeset/ports/515204

Log:
  MFH: r515060
  
  Disable optimization
  
  - Bump PORTREVISION for package change
  
  PR:		241063
  Submitted by:	swills
  
  Approved by:	ports-secteam (blanket)

Modified:
  branches/2019Q4/textproc/rubygem-sassc/Makefile
  branches/2019Q4/textproc/rubygem-sassc/files/patch-ext-extconf.rb
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/textproc/rubygem-sassc/Makefile
==============================================================================
--- branches/2019Q4/textproc/rubygem-sassc/Makefile	Tue Oct 22 15:59:39 2019	(r515203)
+++ branches/2019Q4/textproc/rubygem-sassc/Makefile	Tue Oct 22 16:13:23 2019	(r515204)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sassc
 PORTVERSION=	2.2.1
+PORTREVISION=	1
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 

Modified: branches/2019Q4/textproc/rubygem-sassc/files/patch-ext-extconf.rb
==============================================================================
--- branches/2019Q4/textproc/rubygem-sassc/files/patch-ext-extconf.rb	Tue Oct 22 15:59:39 2019	(r515203)
+++ branches/2019Q4/textproc/rubygem-sassc/files/patch-ext-extconf.rb	Tue Oct 22 16:13:23 2019	(r515204)
@@ -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]+)/, '')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910221613.x9MGDNOr059130>