summaryrefslogtreecommitdiff
path: root/textproc/p5-CSS-Sass/files/patch-Makefile.PL
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-01-22 23:59:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-01-22 23:59:49 +0000
commit7dbdaea46a17980a068b285d5766fe890482db6a (patch)
tree47e3ffeb0141a0c704c91e7bf8aeb8c2228629c6 /textproc/p5-CSS-Sass/files/patch-Makefile.PL
parentAdd minify 2.3.8 (diff)
Add p5-CSS-Sass 3.4.10
CSS::Sass provides a perl interface to LibSass, a nearly complete Sass compiler written in C++. It is currently at ruby sass 3.4 feature parity and heading towards 3.5 compatibility. It can compile .scss and .sass files. WWW: https://metacpan.org/release/CSS-Sass
Diffstat (limited to 'textproc/p5-CSS-Sass/files/patch-Makefile.PL')
-rw-r--r--textproc/p5-CSS-Sass/files/patch-Makefile.PL21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/p5-CSS-Sass/files/patch-Makefile.PL b/textproc/p5-CSS-Sass/files/patch-Makefile.PL
new file mode 100644
index 000000000000..e8e8e44f0089
--- /dev/null
+++ b/textproc/p5-CSS-Sass/files/patch-Makefile.PL
@@ -0,0 +1,21 @@
+--- Makefile.PL.orig 2018-01-12 02:11:18 UTC
++++ Makefile.PL
+@@ -333,7 +333,8 @@ my $orig = \&ExtUtils::MM_Unix::c_o;
+ foreach (@rv) {
+ # add c++0x flag only for cpp files
+ # otherwise XS perl handshake fails
+- s/\$\*\.c(pp|xx)\s*(?=\n|\r|\Z)/-xc++ -std=c++0x \$\*\.c$1/g
++ s/\$\*\.c\s*(?=\n|\r|\Z)/\$\*\.c$1 -o \$\*.o/g;
++ s/\$\*\.c(pp|xx)\s*(?=\n|\r|\Z)/-xc++ -std=c++0x \$\*\.c$1 -o \$\*\.o/g;
+ }
+ return @rv;
+ };
+@@ -719,7 +720,7 @@ sub libsass_plugin_glob
+ # special case (does not compile with perl inc path)
+ # readdir and friends were not available from headers
+ push @ret, 'plugins/glob/vendor/FS$(OBJ_EXT):';
+- push @ret, "\t" . '$(CCCMD) $(CCCDLFLAGS) $(PASTHRU_DEFINE) $(DEFINE) -xc++ -std=c++0x $*.cpp';
++ push @ret, "\t" . '$(CCCMD) $(CCCDLFLAGS) $(PASTHRU_DEFINE) $(DEFINE) -xc++ -std=c++0x $*.cpp -o $*.o';
+ # create the target for the makefile
+ push @ret, '$(GLOB_LIB): $(LIBSASS_LIB) $(GLOB_OBJ)';
+ # make sure the plugin path exists for output