Bug 237703 - security/yapet: fix build with GCC-based architectures
Summary: security/yapet: 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: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-02 08:42 UTC by Piotr Kubaj
Modified: 2019-05-20 15:50 UTC (History)
2 users (show)

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


Attachments
patch (1.26 KB, patch)
2019-05-02 08:42 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (rafi)
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-05-02 08:42:07 UTC
Created attachment 204158 [details]
patch

Don't link with $ssldir/lib if $ssldir is /usr.

This creates a build failure on GCC architectures. -L/usr/lib is added to LDFLAGS and GCC from ports tries to link to base libstdc++.

Tested on powerpc64 and amd64
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-05-20 15:50:39 UTC
A commit references this bug:

Author: pkubaj
Date: Mon May 20 15:49:41 UTC 2019
New revision: 502122
URL: https://svnweb.freebsd.org/changeset/ports/502122

Log:
  security/yapet: fix build with GCC-based architectures

  Don't link with $ssldir/lib if $ssldir is /usr.

  This creates a build failure on GCC architectures. -L/usr/lib is added to LDFLAGS and GCC from ports tries to link to base libstdc++.

  PR:		237703
  Approved by:	mat (maintainer), rafi@guengel.ch (maintainer timeout)
  Differential Revision:	https://reviews.freebsd.org/D20284

Changes:
  head/security/yapet/files/
  head/security/yapet/files/patch-configure