Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2017 23:50:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223578] [PATCH] devel/ncurses: do not pollute CFLAGS
Message-ID:  <bug-223578-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223578

            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@FreeBSD.org
          Reporter: jkim@FreeBSD.org
          Assignee: swills@FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(swills@FreeBSD.org)

Created attachment 187891
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187891&action=
=3Dedit
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=3D200112L
-D_XOPEN_SOURCE=3D600" to CFLAGS via configure scripts.  This may cause con=
flicts
with ports' own CFLAGS and/or CPPFLAGS.  For example, see bug 211973, comme=
nt
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223578-13>