Created attachment 152436 [details] Patch to fix build on systems without /etc/make.conf Terry Kennedy <terry@tmk.com> noticed that on plain vanilla installations of FreeBSD lsof does not build due to picking up CFLAGS incorrectly. We tracked this down to a bug in lsof's configure script checking for the existence of make.conf and then deriving CFLAGS based on the result. It turns out that it does not do anything with make.conf's content, but its absence causes the configure script to select CFLAGS erroneously. The attached micro-patch ensures that the same algorithm is always used to select CFLAGS, independently of make.conf's existence on the target machine. Tested on 8.4, 9.3 (i386) and 10.1 (amd64, armv6). @Maintainer: Do you approve?
Maintainer CC'd
looks reasonable to me -- I will also forward to Vic for inclusion in the next release/fixup.
A commit references this bug: Author: riggs Date: Sun Feb 1 15:27:14 UTC 2015 New revision: 378245 URL: https://svnweb.freebsd.org/changeset/ports/378245 Log: Fix build on systems without /etc/make.conf PR: 197241 Submitted by: riggs Approved by: ler@lerctr.org (maintainer) MFH: 2015Q1 Changes: head/sysutils/lsof/files/ head/sysutils/lsof/files/patch-Configure
Thanks for the quick response!
A commit references this bug: Author: riggs Date: Sun Feb 1 15:48:58 UTC 2015 New revision: 378249 URL: https://svnweb.freebsd.org/changeset/ports/378249 Log: MFH: r378245 Fix build on systems without /etc/make.conf PR: 197241 Submitted by: riggs Approved by: ports-secteam (zi), ler@lerctr.org (maintainer) Changes: _U branches/2015Q1/ branches/2015Q1/sysutils/lsof/Makefile branches/2015Q1/sysutils/lsof/files/
A commit references this bug: Author: arrowd Date: Mon Oct 1 14:02:08 UTC 2018 New revision: 481032 URL: https://svnweb.freebsd.org/changeset/ports/481032 Log: lang/ghc: Disable using xelatex, as the build fails if it is present. PR: 197241 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Approved by: tcberner (mentor) Changes: head/lang/ghc/Makefile
Oops, I put wrong ID in my commit message. Sorry for the noise.