pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50083: x11/sessreg on DragonFly 4.3-DEVELOPMENT gcc5 needs Makefile CPP -P patch
The following reply was made to PR pkg/50083; it has been noted by GNATS.
From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/50083: x11/sessreg on DragonFly 4.3-DEVELOPMENT gcc5 needs
Makefile CPP -P patch
Date: Mon, 7 Sep 2015 07:58:32 -0700
On Thu, Jul 23, 2015 at 10:30 PM, David Holland
<dholland-pbugs%netbsd.org@localhost> wrote:
> The following reply was made to PR pkg/50083; it has been noted by GNATS.
>
> From: David Holland <dholland-pbugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/50083: x11/sessreg on DragonFly 4.3-DEVELOPMENT gcc5 needs
> Makefile CPP -P patch
> Date: Fri, 24 Jul 2015 05:25:37 +0000
>
> On Fri, Jul 24, 2015 at 04:45:00AM +0000, davshao%gmail.com@localhost wrote:
> > x11/sessreg needs a patch to Makefile. The DragonFly dports
> > version of the patch is
> >
> > CPP+= -P
> >
> > That didn't seem to work for pkgsrc, so I converted it to the
> > following patch that does work. Without the patch on DragonFly 4.3
> > one gets an error such as:
> >
> > /usr/pkg/bin/bmake all-recursive
> > Making all in man
> > GEN filenames.sed
> > GEN sessreg.1
> > sed: 3: filenames.sed: unescaped newline inside substitute pattern
>
> Might be better to have it use tradcpp, whose behavior on non-C input
> is well defined and stable.
>
> (if so, it should be unconditional and not os-specific)
>
> --
> David A. Holland
> dholland%netbsd.org@localhost
Unlike say x11/xinit, x11/sessreg's configure.ac and thus configure do not have
XORG_PROG_RAWCPP
Therefore the usual addition to the port Makefile of:
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
does nothing to help x11/sessreg if using gcc5 on DragonFly 4.3-DEVELOPMENT.
Home |
Main Index |
Thread Index |
Old Index