Update zoneminder.cmake.f19.spec

We need to strip the prefix from perl_vendorlib before passing it to cmake
This commit is contained in:
Andrew Bauer 2013-10-20 12:59:31 -05:00
parent 183ce4b422
commit c25a7ffc99
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ too much degradation of performance.
#%patch2 -p0 -b .noffmpeg
%build
%cmake -DZM_TARGET_DISTRO="f19" -DZM_NO_X10=ON -DZM_NO_FFMPEG=ON -DZM_PERL_SUBPREFIX="%{perl_vendorlib}" .
%cmake -DZM_TARGET_DISTRO="f19" -DZM_NO_X10=ON -DZM_NO_FFMPEG=ON -DZM_PERL_SUBPREFIX=`x="%{perl_vendorlib}" ; echo ${x#"%{_prefix}"}` .
make %{?_smp_mflags}