[Bug 232547] graphics/exiv2: improvements for GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 22 21:50:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232547

            Bug ID: 232547
           Summary: graphics/exiv2: improvements for GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
             Flags: maintainer-feedback?(multimedia at FreeBSD.org)
          Assignee: multimedia at FreeBSD.org

Created attachment 198483
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=198483&action=edit
patch

GCC architectures currently use GCC7 from ports to build many ports dependent
on exiv2, but GCC7 can't link againts libraries compiled with GCC4.2. Switch to
GCC7 to fix it.

Since ports GCC is not available on mips*, don't add USES=compiler:c++11-lang
globally, since it will break mips*.

powerpc64 compiles ok without -mminimal-toc, so remove that since it introduces
performance penalty.

Additionally, when building with GCC7, linking against libintl is necessary, so
add that for GCC architectures, besides mips*.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list