Bug 233691

Summary: www/py-libsass: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer 2018-12-01 15:56:20 UTC
Created attachment 199710 [details]
patch

This port unconditionally links to libc++ when using FreeBSD. This breaks compilation using GCC, which is used on GCC platforms.

Remove -stdlib=libc++. Clang will use libc++ by default and GCC won't break here.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2018-12-01 16:31:23 UTC
A commit references this bug:

Author: yuri
Date: Sat Dec  1 16:31:18 UTC 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>

Changes:
  head/www/py-libsass/Makefile
  head/www/py-libsass/files/
  head/www/py-libsass/files/patch-setup.py
Comment 2 Yuri Victorovich freebsd_committer 2018-12-01 16:31:32 UTC
Committed with changes, thanks!