Bug 234406 - net/avahi-qt5: fix build with GCC-based architectures
Summary: net/avahi-qt5: 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: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-25 20:52 UTC by Piotr Kubaj
Modified: 2019-03-21 12:05 UTC (History)
2 users (show)

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


Attachments
patch (321 bytes, patch)
2018-12-25 20:52 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 freebsd_committer freebsd_triage 2018-12-25 20:52:50 UTC
Created attachment 200510 [details]
patch

USES=compiler:c++11-lang is necessary to build on GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2018-12-31 06:29:33 UTC
To me this fails on amd64 with:

gmake[1]: *** No rule to make target 'avahi-qt5.pc'.  Stop.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2019-03-21 12:04:55 UTC
This now builds for me.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-03-21 12:05:07 UTC
A commit references this bug:

Author: linimon
Date: Thu Mar 21 12:04:59 UTC 2019
New revision: 496445
URL: https://svnweb.freebsd.org/changeset/ports/496445

Log:
  Fix build on gcc-based architectures, with the false positive error:

    configure: error: Couldn't compile Qt without -fPIC nor with -fPIC

  PR:		234406
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/net/avahi-qt5/Makefile