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 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
Home |
Main Index |
Thread Index |
Old Index