Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-Text-Hunspell
fix-makefile.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-makefile.diff of Package perl-Text-Hunspell
Index: Text-Hunspell-2.02/Makefile.PL =================================================================== --- Text-Hunspell-2.02.orig/Makefile.PL 2010-10-24 13:23:11.000000000 +0200 +++ Text-Hunspell-2.02/Makefile.PL 2011-04-01 20:11:18.887713482 +0200 @@ -11,8 +11,8 @@ use Devel::CheckLib; my $dlext = $Config{dlext} || 'so'; my $candidate_lib; for (split " " => $Config{libpth}) { - my $lib_path = "$_/libhunspell.$dlext"; - #warn "Checking $lib_path\n"; + my $lib_path = glob("$_/libhunspell*.$dlext"); + warn "Checking $lib_path\n"; if (-e $lib_path) { $candidate_lib++; warn "Found '$lib_path'. Good.\n"; @@ -33,7 +33,7 @@ if (0 == $candidate_lib) { } check_lib_or_exit( - lib => 'hunspell', + lib => 'hunspell-X', header => 'hunspell/hunspell.h', ); @@ -44,7 +44,7 @@ my $CC = $ENV{"CXX"} || 'g++'; WriteMakefile( NAME => 'Text::Hunspell', VERSION_FROM => 'Hunspell.pm', - LIBS => ['-lhunspell'], + LIBS => ['-lhunspell-X'], CC => $CC, LD => '$(CC)', PREREQ_PM => {}, # e.g., Module::Name => 1.1 Index: Text-Hunspell-2.02/t/00-prereq.t =================================================================== --- Text-Hunspell-2.02.orig/t/00-prereq.t 2010-10-24 13:02:27.000000000 +0200 +++ Text-Hunspell-2.02/t/00-prereq.t 2011-04-01 20:11:53.159207337 +0200 @@ -4,7 +4,7 @@ use lib qw(inc ../inc); use Devel::CheckLib; check_lib_or_exit( - lib => 'hunspell', + lib => 'hunspell-X', header => 'hunspell/hunspell.h', );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor