forked from pool/perl-Text-Hunspell
fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Hunspell?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
2d0dcf93b9
commit
488f9d15ff
@@ -1,7 +1,7 @@
|
|||||||
Index: Text-Hunspell-2.02/Makefile.PL
|
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.orig/Makefile.PL 2010-10-24 13:23:11.000000000 +0200
|
||||||
+++ Text-Hunspell-2.02/Makefile.PL 2011-04-01 20:04:27.688784790 +0200
|
+++ Text-Hunspell-2.02/Makefile.PL 2011-04-01 20:11:18.887713482 +0200
|
||||||
@@ -11,8 +11,8 @@ use Devel::CheckLib;
|
@@ -11,8 +11,8 @@ use Devel::CheckLib;
|
||||||
my $dlext = $Config{dlext} || 'so';
|
my $dlext = $Config{dlext} || 'so';
|
||||||
my $candidate_lib;
|
my $candidate_lib;
|
||||||
@@ -31,3 +31,16 @@ Index: Text-Hunspell-2.02/Makefile.PL
|
|||||||
CC => $CC,
|
CC => $CC,
|
||||||
LD => '$(CC)',
|
LD => '$(CC)',
|
||||||
PREREQ_PM => {}, # e.g., Module::Name => 1.1
|
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-1.3',
|
||||||
|
header => 'hunspell/hunspell.h',
|
||||||
|
);
|
||||||
|
|
||||||
|
@@ -44,6 +44,7 @@ The example code describes the interface on http://hunspell.sf.net
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
pkg-config --libs hunspell
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user