-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rubygem-sassc22 2.2.1 (copied from rubygem-sassc)
This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@535562 35697150-7ecd-e111-bb59-0022644237b5
- Loading branch information
sunpoet
committed
May 17, 2020
1 parent
ff47299
commit 9b1028d
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> | ||
# $FreeBSD$ | ||
|
||
PORTNAME= sassc | ||
PORTVERSION= 2.2.1 | ||
CATEGORIES= textproc rubygems | ||
MASTER_SITES= RG | ||
PKGNAMESUFFIX= 22 | ||
|
||
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 | ||
|
||
# Workaround for https://gitlab.com/gitlab-org/gitlab/-/issues/216740 | ||
PORTSCOUT= limit:^2\.2\. | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1569591598 | ||
SHA256 (rubygem/sassc-2.2.1.gem) = 3fea2409ee4a890f8c8ebc4fb6163fe2c58ef6be7b7a586c64b0fc924f8b7625 | ||
SIZE (rubygem/sassc-2.2.1.gem) = 302080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- ext/extconf.rb.orig 2019-10-20 13:40:05 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]+)/, '') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SassC combines the speed of libsass, the Sass C implementation, with the ease of | ||
use of the original Ruby Sass library. | ||
|
||
WWW: https://github.com/sass/sassc-ruby |