fix PerlMagick build

epel9
Rex Dieter 16 years ago
parent 2db5b9e0e3
commit d5e9c929f4

@ -114,12 +114,14 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
make %{?_smp_mflags}
make %{?_smp_mflags} perl-build
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
make install DESTDIR=%{buildroot} -C PerlMagick
# perlmagick: fix perl path of demo files
%{__perl} -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl

Loading…
Cancel
Save