Bug 233691 - www/py-libsass: fix build with GCC-based architectures
Summary: www/py-libsass: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-01 15:56 UTC by Piotr Kubaj
Modified: 2018-12-01 16:31 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
patch (1016 bytes, patch)
2018-12-01 15:56 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj 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!