[base-gcc] Unbreak www/ruby-sassc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[base-gcc] Unbreak www/ruby-sassc

Charlene Wendling
Hi,

I've spotted that in the current sparc64 bulk:

> c++ -I. -I/usr/local/include/ruby-2.6/sparc64-openbsd
> -I/usr/local/include/ruby-2.6/ruby/backward
> -I/usr/local/include/ruby-2.6 -I. -I./libsass/include
> -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -fPIC -O2 -pipe
> -std=c++11 -DLIBSASS_VERSION='"3.6.1"'  -o ast.o
> -c ./libsass/src/ast.cpp
> cc1plus: error: unrecognized command line option "-std=c++11"

base-gcc can't deal with c++11.

Once ports-gcc is used it builds fine on macppc [0]. While here i've
fixed a malformed RCS tag.

Revision bump is unneeded, it changes nothing on clang archs and it
has been never built on base-gcc ones.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/ruby-sassc.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/ruby-sassc/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 10 Nov 2019 16:52:05 -0000 1.1.1.1
+++ Makefile 14 Nov 2019 10:24:27 -0000
@@ -1,4 +1,4 @@
-# $OpenBSD
+# $OpenBSD$
 
 COMMENT = libsass wrapper for ruby
 
@@ -9,6 +9,9 @@ HOMEPAGE = https://github.com/sass/sass
 
 # MIT
 PERMIT_PACKAGE = Yes
+
+# C++11
+COMPILER = base-clang ports-gcc
 
 MODULES = lang/ruby
 CONFIGURE_STYLE = ruby gem ext

Reply | Threaded
Open this post in threaded view
|

Re: [base-gcc] Unbreak www/ruby-sassc

Jeremy Evans-5
On 11/14 11:46, Charlene Wendling wrote:

> Hi,
>
> I've spotted that in the current sparc64 bulk:
>
> > c++ -I. -I/usr/local/include/ruby-2.6/sparc64-openbsd
> > -I/usr/local/include/ruby-2.6/ruby/backward
> > -I/usr/local/include/ruby-2.6 -I. -I./libsass/include
> > -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -fPIC -O2 -pipe
> > -std=c++11 -DLIBSASS_VERSION='"3.6.1"'  -o ast.o
> > -c ./libsass/src/ast.cpp
> > cc1plus: error: unrecognized command line option "-std=c++11"
>
> base-gcc can't deal with c++11.
>
> Once ports-gcc is used it builds fine on macppc [0]. While here i've
> fixed a malformed RCS tag.
>
> Revision bump is unneeded, it changes nothing on clang archs and it
> has been never built on base-gcc ones.
>
> Comments/feedback are welcome,

OK jeremy@

Thanks,
Jeremy