svn commit: r486377 - in head/www/py-libsass: . files

Yuri Victorovich yuri at FreeBSD.org
Sat Dec 1 16:31:19 UTC 2018


Author: yuri
Date: Sat Dec  1 16:31:17 2018
New Revision: 486377
URL: https://svnweb.freebsd.org/changeset/ports/486377

Log:
  www/py-libsass: fix build with GCC-based architectures
  
  PR:		233691
  Submitted by:	Piotr Kubaj <pkubaj at anongoth.pl>

Added:
  head/www/py-libsass/files/
  head/www/py-libsass/files/patch-setup.py   (contents, props changed)
Modified:
  head/www/py-libsass/Makefile

Modified: head/www/py-libsass/Makefile
==============================================================================
--- head/www/py-libsass/Makefile	Sat Dec  1 16:25:47 2018	(r486376)
+++ head/www/py-libsass/Makefile	Sat Dec  1 16:31:17 2018	(r486377)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libsass
 DISTVERSION=	0.16.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Added: head/www/py-libsass/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-libsass/files/patch-setup.py	Sat Dec  1 16:31:17 2018	(r486377)
@@ -0,0 +1,14 @@
+--- setup.py.orig	2018-12-01 15:27:12 UTC
++++ setup.py
+@@ -18,9 +18,9 @@ MACOS_FLAG = ['-mmacosx-version-min=10.7']
+ FLAGS_POSIX = [
+     '-fPIC', '-std=gnu++0x', '-Wall', '-Wno-parentheses', '-Werror=switch',
+ ]
+-FLAGS_CLANG = ['-c', '-O3'] + FLAGS_POSIX + ['-stdlib=libc++']
++FLAGS_CLANG = ['-c'] + FLAGS_POSIX
+ LFLAGS_POSIX = ['-fPIC',  '-lstdc++']
+-LFLAGS_CLANG = ['-fPIC', '-stdlib=libc++']
++LFLAGS_CLANG = ['-fPIC']
+ 
+ sources = ['pysass.cpp']
+ headers = []


More information about the svn-ports-all mailing list