Index: head/www/py-libsass/Makefile =================================================================== --- head/www/py-libsass/Makefile (revision 484984) +++ head/www/py-libsass/Makefile (revision 484985) @@ -1,27 +1,27 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= libsass -DISTVERSION= 0.15.1 +DISTVERSION= 0.16.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Straightforward binding of libsass for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libsass.so:textproc/libsass USES= compiler:c++11-lang localbase python USE_PYTHON= autoplist distutils MAKE_ENV= SYSTEM_SASS=1 post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_sass.so .include Index: head/www/py-libsass/distinfo =================================================================== --- head/www/py-libsass/distinfo (revision 484984) +++ head/www/py-libsass/distinfo (revision 484985) @@ -1,3 +1,3 @@ -TIMESTAMP = 1538113759 -SHA256 (libsass-0.15.1.tar.gz) = daa7ea2b3b24585cff907320d071992ffea3ba36c4523f90798f27d1c4a9ef66 -SIZE (libsass-0.15.1.tar.gz) = 310346 +TIMESTAMP = 1542244782 +SHA256 (libsass-0.16.0.tar.gz) = ee756c684b5524099254d55a17169a81255ed7e03e11c97e9761dc9673c71bad +SIZE (libsass-0.16.0.tar.gz) = 309924 Index: head/www/py-libsass/files/patch-setup.py =================================================================== --- head/www/py-libsass/files/patch-setup.py (revision 484984) +++ head/www/py-libsass/files/patch-setup.py (revision 484985) @@ -1,29 +1,20 @@ ---- setup.py.orig 2018-09-16 19:57:43 UTC +--- setup.py.orig 2018-11-13 19:39:18 UTC +++ setup.py @@ -37,7 +37,7 @@ def _maybe_clang(flags): compiler.linker_so[0] = os.environ['CXX'] return compiler distutils.sysconfig.customize_compiler = customize_compiler - flags[:] = ['-c', '-O3'] + flags + ['-stdlib=libc++'] + flags[:] = ['-c'] + flags def _maybe_macos(flags): -@@ -59,7 +59,7 @@ if system_sass: - _maybe_macos(flags) - - if platform.system() == 'FreeBSD': -- link_flags = ['-fPIC', '-lc++'] -+ link_flags = ['-fPIC'] - else: - link_flags = ['-fPIC', '-lstdc++'] - libraries = ['sass'] -@@ -173,7 +173,7 @@ else: - f.write(cencode_body) - - if platform.system() == 'FreeBSD': -- link_flags = ['-fPIC', '-lc++'] -+ link_flags = ['-fPIC'] - else: - link_flags = ['-fPIC', '-lstdc++'] +@@ -54,7 +54,7 @@ def _maybe_macos(flags): + if sys.platform == 'win32': + extra_link_args = [] + elif platform.system() in {'Darwin', 'FreeBSD'}: +- extra_link_args = ['-fPIC', '-lc++'] ++ extra_link_args = ['-fPIC', '-lstdc++'] + else: + extra_link_args = ['-fPIC', '-lstdc++']