FreeBSD Bugzilla – Attachment 208098 Details for
Bug 241063
textproc/rubygem-sassc: fix port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix port
rubygem-sassc_fix-rev0.diff (text/plain), 1.67 KB, created by
Steve Wills
on 2019-10-04 18:28:33 UTC
(
hide
)
Description:
patch to fix port
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2019-10-04 18:28:33 UTC
Size:
1.67 KB
patch
obsolete
>diff --git textproc/rubygem-sassc/Makefile textproc/rubygem-sassc/Makefile >index 5454b9a7bc5a..43d474c552a9 100644 >--- textproc/rubygem-sassc/Makefile >+++ textproc/rubygem-sassc/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= sassc > PORTVERSION= 2.2.1 >+PORTREVISION= 1 > CATEGORIES= textproc rubygems > MASTER_SITES= RG > >diff --git textproc/rubygem-sassc/files/patch-ext-extconf.rb textproc/rubygem-sassc/files/patch-ext-extconf.rb >deleted file mode 100644 >index 16ed910acb90..000000000000 >--- textproc/rubygem-sassc/files/patch-ext-extconf.rb >+++ /dev/null >@@ -1,11 +0,0 @@ >---- ext/extconf.rb.orig 2019-09-07 21:32:44 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' >- end >- >- # Disable noisy compilation warnings. >diff --git textproc/rubygem-sassc/files/patch-ext_extconf.rb textproc/rubygem-sassc/files/patch-ext_extconf.rb >new file mode 100644 >index 000000000000..cf0d5bec3d48 >--- /dev/null >+++ textproc/rubygem-sassc/files/patch-ext_extconf.rb >@@ -0,0 +1,21 @@ >+--- ext/extconf.rb.orig 2019-10-04 18:08:34 UTC >++++ ext/extconf.rb >+@@ -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]+)/, '')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241063
: 208098