Summary: | [patch] math/coinmp: use INSTALL_TARGET=install-strip, fix 'present but cannot be compiled' warnings | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Andriy Voskoboinyk <avos> | ||||||
Component: | Individual Port(s) | Assignee: | Carlos J. Puga Medina <cpm> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | Flags: | cpm:
maintainer-feedback+
|
||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 196986 [details]
Portlint -AC output
A commit references this bug: Author: cpm Date: Tue Sep 11 23:07:59 UTC 2018 New revision: 479573 URL: https://svnweb.freebsd.org/changeset/ports/479573 Log: - Use INSTALL_TARGET=install-strip instead of manual stripping - Fix 'present but cannot be compiled' warnings PR: 231262 Submitted by: avos Changes: head/math/coinmp/Makefile Committed, thanks! |
Created attachment 196985 [details] Makefile.diff The warning is caused by another exit(3) definition in configure (without _Noreturn attribute); it may be fixed by running ln -s ${WRKSRC}/BuildTools <into all directories with configure.ac> && 'autoreconf -fi -I${WRKSRC}/BuildTools', but 'sed' approach seems to be faster and less complicated. While here, replace manual stripping with INSTALL_TARGET=install-strip.