[Bug 223578] [PATCH] devel/ncurses: do not pollute CFLAGS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 9 23:50:19 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223578
Bug ID: 223578
Summary: [PATCH] devel/ncurses: do not pollute CFLAGS
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: swills at FreeBSD.org
Reporter: jkim at FreeBSD.org
Assignee: swills at FreeBSD.org
Keywords: patch
Flags: maintainer-feedback?(swills at FreeBSD.org)
Created attachment 187891
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187891&action=edit
Do not add bogus macros to CFLAGS.
Some ports cannot be built with devel/ncurses because "pkgconf --cflags
ncurses" adds "-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600" to CFLAGS via configure scripts. This may cause conflicts
with ports' own CFLAGS and/or CPPFLAGS. For example, see bug 211973, comment
22. Actually, I found these flags are archaic from 5.x era and even harmful
for all supported releases. I also verified that it generates the same
binaries and works fine without the CFLAGS.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list