Bug 237145

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

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-04-09 08:20:03 UTC
Created attachment 203528 [details]
patch

Respect LDFLAGS to fix build on GCC architectures.

While here, add USES=gnome.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-30 19:14:31 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Apr 30 19:13:59 UTC 2019
New revision: 500556
URL: https://svnweb.freebsd.org/changeset/ports/500556

Log:
  graphics/delaboratory: fix build with GCC-based architectures

  Respect LDFLAGS to fix build on GCC architectures:
  //usr/local/lib/libwebkitgtk-1.0.so.0: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
  //usr/local/lib/libwebkitgtk-1.0.so.0: undefined reference to `std::condition_variable::notify_one()@GLIBCXX_3.4.11'
  //usr/local/lib/libwebkitgtk-1.0.so.0: undefined reference to `std::__once_call@GLIBCXX_3.4.11'

  While here, add USES=gnome.

  PR:		237145
  Approved by:	portmaster@bsdforge.com (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20105

Changes:
  head/graphics/delaboratory/Makefile