View | Details | Raw Unified | Return to bug 231714
Collapse All | Expand All

(-)Makefile (-3 / +1 lines)
Lines 13-24 Link Here
13
LICENSE=	MIT
13
LICENSE=	MIT
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
15
16
BROKEN_powerpc64=	fails to compile: cc1plus: error: unrecognized command line option -std=c++0x
17
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
19
LIB_DEPENDS=	libsass.so:textproc/libsass
17
LIB_DEPENDS=	libsass.so:textproc/libsass
20
18
21
USES=		localbase python
19
USES=		compiler:c++11-lang localbase python
22
USE_PYTHON=	autoplist distutils
20
USE_PYTHON=	autoplist distutils
23
21
24
MAKE_ENV=	SYSTEM_SASS=1
22
MAKE_ENV=	SYSTEM_SASS=1
(-)files/patch-setup.py (-2 / +20 lines)
Lines 1-4 Link Here
1
--- setup.py.orig	2017-11-16 05:28:26 UTC
1
--- setup.py.orig	2018-09-16 19:57:43 UTC
2
+++ setup.py
2
+++ setup.py
3
@@ -37,7 +37,7 @@ def _maybe_clang(flags):
3
@@ -37,7 +37,7 @@ def _maybe_clang(flags):
4
         compiler.linker_so[0] = os.environ['CXX']
4
         compiler.linker_so[0] = os.environ['CXX']
Lines 5-11 Link Here
5
         return compiler
5
         return compiler
6
     distutils.sysconfig.customize_compiler = customize_compiler
6
     distutils.sysconfig.customize_compiler = customize_compiler
7
-    flags[:] = ['-c', '-O3'] + flags + ['-stdlib=libc++']
7
-    flags[:] = ['-c', '-O3'] + flags + ['-stdlib=libc++']
8
+    flags[:] = ['-c'] + flags + ['-stdlib=libc++']
8
+    flags[:] = ['-c'] + flags
9
 
9
 
10
 
10
 
11
 def _maybe_macos(flags):
11
 def _maybe_macos(flags):
12
@@ -59,7 +59,7 @@ if system_sass:
13
     _maybe_macos(flags)
14
 
15
     if platform.system() == 'FreeBSD':
16
-        link_flags = ['-fPIC', '-lc++']
17
+        link_flags = ['-fPIC']
18
     else:
19
         link_flags = ['-fPIC', '-lstdc++']
20
     libraries = ['sass']
21
@@ -173,7 +173,7 @@ else:
22
                         f.write(cencode_body)
23
 
24
         if platform.system() == 'FreeBSD':
25
-            link_flags = ['-fPIC', '-lc++']
26
+            link_flags = ['-fPIC']
27
         else:
28
             link_flags = ['-fPIC', '-lstdc++']
29
 

Return to bug 231714