Bug 240690

Summary: net/spoofer: fix build on GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Only Me CC: mjl
Priority: --- Keywords: needs-qa
Version: LatestFlags: mjl: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch koobs: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-09-19 16:14:43 UTC
Created attachment 207628 [details]
patch

GCC from ports on GCC architectures fails to build this port when base OpenSSL is used because -L/usr/lib takes over -L/usr/local/lib/gcc9 and in result, base libstdc++ is used instead of the one from ports. Fix this issue with patch to configure script.
Comment 1 mjl 2019-09-19 19:12:50 UTC
Maintainer approved.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-20 08:28:12 UTC
^Triage: Reporter is committer, MAINTAINER is not committer, assign accordingly
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-20 08:29:05 UTC
Comment on attachment 207628 [details]
patch

^Triage: Build fixes don't require maintainer approval, and are:

Approved by: portmgr (blanket: build fix)
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2019-09-22 20:24:48 UTC
Approved as mentor (builds on ppcports) pending maintainer review.
Comment 5 commit-hook freebsd_committer freebsd_triage 2019-09-30 14:24:32 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Sep 30 14:24:20 UTC 2019
New revision: 513388
URL: https://svnweb.freebsd.org/changeset/ports/513388

Log:
  net/spoofer: fix build on GCC architectures

  GCC from ports on GCC architectures fails to build this port when base OpenSSL is used because -L/usr/lib takes over -L/usr/local/lib/gcc9 and in result, base libstdc++ is used instead of the one from ports. Fix this issue with patch to configure script.

  PR:		240690
  Approved by:	linimon (mentor), portmgr (blanket: build fix)

Changes:
  head/net/spoofer/files/patch-configure