Bug 240690 - net/spoofer: fix build on GCC architectures
Summary: net/spoofer: fix build on GCC 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: Piotr Kubaj
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-09-19 16:14 UTC by Piotr Kubaj
Modified: 2019-09-30 14:24 UTC (History)
1 user (show)

See Also:
mjl: maintainer-feedback+


Attachments
patch (1.22 KB, patch)
2019-09-19 16:14 UTC, Piotr Kubaj
koobs: maintainer-approval+
Details | Diff

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