waf issue?
Richard Laager
rlaager at wiktel.com
Fri Apr 5 08:20:56 UTC 2019
On 4/5/19 3:12 AM, Udo van den Heuvel via devel wrote:
> Hello,
>
> In my spec file (for Fedora) I configure and build nptsec with:
>
> %build
> CFLAGS="-O2" ./waf configure \
> --prefix=/usr\
> --enable-early-droproot\
> --refclock=nmea,generic\
> --libdir=%{_libdir}\
> --docdir=%{_docdir}/ntpsec\
> --enable-doc
> CFLAGS="-O2" ./waf build
>
> %install
>
> DESTDIR=$RPM_BUILD_ROOT ./waf install
>
>
>
> Using this method we end up with service files for systemd with strings
> in them like @BINDIR@ and @SBINDIR at .
> Isn't waf supposed to handle this?
Yes. I ran your commands and it works for me.
--
Richard
More information about the devel
mailing list