On Sun Oct 07, 2018 at 04:05:30PM -0600, lan...@openbsd.org wrote:
> http://build-failures.rhaalovely.net//sparc64/2018-09-30/www/libsass.log

I run in the same compiler error with `CC=gcc CXX=g++ make`. Base gcc is
missing C++0x suport. Simple fix:


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/libsass/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile    26 Apr 2018 08:31:29 -0000      1.3
+++ Makefile    8 Oct 2018 21:17:57 -0000
@@ -5,6 +5,7 @@ COMMENT =               C/C++ implementation of a Sas
 GH_ACCOUNT =           sass
 GH_PROJECT =           libsass
 GH_TAGNAME =           3.5.4
+REVISION =             0
 
 SHARED_LIBS +=  sass                      0.0 # 0.0
 
@@ -18,6 +19,9 @@ CATEGORIES =          www
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB =              ${COMPILER_LIBCXX} m
+
+# c++0x
+COMPILER = base-clang ports-clang ports-gcc
 
 BUILD_DEPENDS =                ${MODGNU_AUTOCONF_DEPENDS} \
                        ${MODGNU_AUTOMAKE_DEPENDS} \

Reply via email to