| Summary: | lang/guile2: Add USES=compiler:c11 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Justin Hibbits <jhibbits> |
| Component: | Individual Port(s) | Assignee: | Muhammad Moinur Rahman <bofh> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | bofh, linimon |
| Priority: | --- | Keywords: | needs-patch |
| Version: | Latest | Flags: | koobs:
maintainer-feedback?
(bofh) koobs: merge-quarterly? |
| Hardware: | Any | ||
| OS: | Any | ||
USES= charsetfix ${USES_${ARCH}} gmake iconv libtool makeinfo ncurses pathfix\
pkgconfig readline tar:lz
USES_powerpc64= compiler:c11
compiler:c11 is already included as ${USES_${ARCH}}
There are more archs than powerpc64 that need it (powerpc, powerpcspe, and anything else). Since c11 is required for guile2, it should just be part of the USES line itself. Otherwise it's whack-a-mole on each arch. A commit references this bug: Author: bofh Date: Thu Jul 25 17:26:40 UTC 2019 New revision: 507325 URL: https://svnweb.freebsd.org/changeset/ports/507325 Log: lang/guile2: Update version 2.2.5=>2.2.6 - Add ATCH wide compiler:c11 [1] PR: 239212 [1] Submitted by: jhibbits [1] Changes: head/lang/guile2/Makefile head/lang/guile2/distinfo head/lang/guile2/pkg-plist |
lang/guile2 (testing 2.2.5) tests -std=gnu11 as part of configure, but it's not obvious in the configure messages, only the configure log. With a non-gnu11-compatible compiler (such as gcc 4.2.1 in base), configure errors out being unable to find libltdl, which is installed as a port LIBDEPENDS. Checking the config.log shows the real error ("unknown argument -std=gnu11").