Update zoneminder.cmake.el6.spec
We need to strip the prefix from perl_vendorlib macro before passing it to cmake.
This commit is contained in:
parent
cdd2920767
commit
183ce4b422
|
@ -66,7 +66,7 @@ too much degradation of performance.
|
|||
%build
|
||||
# Have to override CMAKE_INSTALL_LIBDIR for cmake < 2.8.7 due to this bug:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=795542
|
||||
%cmake -DZM_TARGET_DISTRO="el6" -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} -DZM_PERL_SUBPREFIX="%{perl_vendorlib}" .
|
||||
%cmake -DZM_TARGET_DISTRO="el6" -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} -DZM_PERL_SUBPREFIX=`x="%{perl_vendorlib}" ; echo ${x#"%{_prefix}"}` .
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
|
Loading…
Reference in New Issue