Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2018 16:31:18 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486377 - in head/www/py-libsass: . files
Message-ID:  <201812011631.wB1GVIkZ038995@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 = []



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812011631.wB1GVIkZ038995>