summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-11-02 17:52:04 +0000
committerMamoru Komachi <usata@gentoo.org>2006-11-02 17:52:04 +0000
commit75ab83eec9140316cc7ba707e4b20ec150194056 (patch)
tree87b4432d02540a53e594b067d983826b144d111c /app-text/yamcha/files
parentAdded a patch to fix compilation problem in perl module for the first time. R... (diff)
downloadgentoo-2-75ab83eec9140316cc7ba707e4b20ec150194056.tar.gz
gentoo-2-75ab83eec9140316cc7ba707e4b20ec150194056.tar.bz2
gentoo-2-75ab83eec9140316cc7ba707e4b20ec150194056.zip
Added a patch to fix compilation problem in perl module for the first time. Removed old ebuild and stabilized -r1. Added ~amd64 keyword.
(Portage version: 2.1.1-r1)
Diffstat (limited to 'app-text/yamcha/files')
-rw-r--r--app-text/yamcha/files/yamcha-0.33-pm.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-text/yamcha/files/yamcha-0.33-pm.patch b/app-text/yamcha/files/yamcha-0.33-pm.patch
new file mode 100644
index 000000000000..e52f80f07137
--- /dev/null
+++ b/app-text/yamcha/files/yamcha-0.33-pm.patch
@@ -0,0 +1,26 @@
+diff -urN perl.orig/Makefile.PL perl/Makefile.PL
+--- perl.orig/Makefile.PL 2005-09-06 00:09:48.000000000 +0900
++++ perl/Makefile.PL 2006-11-03 02:36:37.000000000 +0900
+@@ -6,7 +6,7 @@
+ 'LD' => 'g++',
+ 'NAME' => 'YamCha',
+ 'VERSION_FROM' => 'YamCha.pm', # finds $VERSION
+- 'INC' => '-I/usr/local/include',
+- 'LIBS' => '-L/usr/local/lib -lm -lstdc++ -lyamcha',
++ 'INC' => '-I../src -I/usr/local/include',
++ 'LIBS' => '-L../src -L/usr/local/lib -lm -lstdc++ -lyamcha',
+ 'OBJECT' => 'YamCha_wrap.o'
+ );
+diff -urN perl.orig/Makefile.PL.in perl/Makefile.PL.in
+--- perl.orig/Makefile.PL.in 2004-09-20 18:35:52.000000000 +0900
++++ perl/Makefile.PL.in 2006-11-03 02:36:23.000000000 +0900
+@@ -6,7 +6,7 @@
+ 'LD' => '@CXX@',
+ 'NAME' => 'YamCha',
+ 'VERSION_FROM' => 'YamCha.pm', # finds $VERSION
+- 'INC' => '-I@prefix@/include',
+- 'LIBS' => '-L@prefix@/lib @YAMCHA_LIBS@ -lyamcha',
++ 'INC' => '-I../src -I@prefix@/include',
++ 'LIBS' => '-L../src -L@prefix@/lib @YAMCHA_LIBS@ -lyamcha',
+ 'OBJECT' => 'YamCha_wrap.o'
+ );