Latest libchasen uses C++ library, but MakeMaker was not considerd about it.
So you need to change Makefile.Pl a little bit.
Reproducible: Always
Steps to Reproduce:
1. ebuild Text-ChaSen
2. perl -e 1 -MText::ChaSen
Actual Results:
# perl -e 1 -MText::ChaSen
Can't load
'/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/auto/Text/ChaSen/ChaSen.so' for
module Text::ChaSen: /usr/lib/libchasen.so.0: undefined symbol:
__gxx_personality_v0 at /usr/lib/perl5/5.8.2/i686-linux/DynaLoader.pm line 229.
at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
Expected Results:
# perl -e 1 -MText::ChaSen
# echo $?
0
I made a patch for it.
--- Text-ChaSen-1.03.ebuild 2004-05-13 07:21:40.000000000 +0000
+++ Text-ChaSen-1.03.ebuild.new 2004-05-13 07:24:28.000000000 +0000
@@ -21,4 +21,6 @@
unpack ${A}
cd ${S}
patch -p0 < ${DISTDIR}/ChaSen.pm-1.03-pod-fix.diff
+ sed -e '5a"LD" => "g++",' Makefile.PL > MP.tmp
+ mv MP.tmp Makefile.PL
}