On Fri, Jul 04, 2008 at 12:19:09AM +0400, Pavlov Konstantin wrote: > [builder@hasher pkgconfig]$ cat vlc-plugin.pc > prefix=/usr > exec_prefix=/usr > libdir=/usr/lib > includedir=/usr/include > > Name: VLC plugin API > Description: VLC media player plugin interface > Version: 0.9.0-test1 > Cflags: -I${includedir} -I${includedir}/vlc/plugins \ > -D_FILE_OFFSET_BITS=64 \ > -D__USE_UNIX98 \ > -D_LARGEFILE64_SOURCE \ > \ > -D_REENTRANT \ > -D_THREAD_SAFE > Libs: -L${libdir} -lvlccore > > builder@hasher pkgconfig]$ RPM_BUILD_ROOT="/usr/src/RPM/BUILD/vlc-0.9.0" sh > -exuf /usr/lib/rpm/fixup-pkgconfig vlc-plugin.pc > ... > ... > ... > + subst -p 's|^Cflags: .*|Cflags: -I${includedir}/vlc/plugins \|g' -- vlc-plugin.pc > subst: sed: -e expression #1, char 53: unterminated `s' command > subst: fork > + return 1 > > > С точки зрения pkg-config конструкция в Cflags вполне валидна. > > Запатчить fixup-pkgconfig у меня не хватит душевных сил :( Надо квотить, quote_sed_regexp() можно взять из /bin/shell-regexp -- ldv