From 4eabff15e2f5635aba0bd8a07161293a7cfdf049 Mon Sep 17 00:00:00 2001 From: Mamoru Komachi Date: Mon, 19 Jun 2006 23:45:41 +0000 Subject: [PATCH] Fixed perl module compilation for the first time; bug #132581. Package-Manager: portage-2.1.1_pre1-r1 --- sci-misc/tinysvm/ChangeLog | 8 +++-- sci-misc/tinysvm/Manifest | 31 ++++++++++++++++--- sci-misc/tinysvm/files/digest-tinysvm-0.09 | 2 ++ sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 | 2 ++ sci-misc/tinysvm/files/tinysvm-0.09-pm.patch | 12 +++++++ sci-misc/tinysvm/metadata.xml | 2 +- sci-misc/tinysvm/tinysvm-0.09-r1.ebuild | 14 +++++++-- 7 files changed, 60 insertions(+), 11 deletions(-) create mode 100644 sci-misc/tinysvm/files/tinysvm-0.09-pm.patch diff --git a/sci-misc/tinysvm/ChangeLog b/sci-misc/tinysvm/ChangeLog index 3df82193834f..cf6927561c20 100644 --- a/sci-misc/tinysvm/ChangeLog +++ b/sci-misc/tinysvm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-misc/tinysvm -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.2 2005/12/25 17:15:25 usata Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/ChangeLog,v 1.3 2006/06/19 23:45:41 usata Exp $ + + 19 Jun 2006; Mamoru KOMACHI + +files/tinysvm-0.09-pm.patch, tinysvm-0.09-r1.ebuild: + Fixed perl module compilation for the first time; bug #132581. *tinysvm-0.09-r1 (25 Dec 2005) diff --git a/sci-misc/tinysvm/Manifest b/sci-misc/tinysvm/Manifest index 7d7c93eba71b..8279de9d69c6 100644 --- a/sci-misc/tinysvm/Manifest +++ b/sci-misc/tinysvm/Manifest @@ -1,6 +1,27 @@ +AUX tinysvm-0.09-pm.patch 450 RMD160 52cec0a3c140426912d542350cad654d2ac02060 SHA1 3325c452cf66b779e98b56eb7a0826bb0b6bcd21 SHA256 95fe45f550f9ff8080f4b92407daa71c8737a323347f4305a6914ec213228dc6 +MD5 bd9c2c61fd9183e6923cbc8475b93207 files/tinysvm-0.09-pm.patch 450 +RMD160 52cec0a3c140426912d542350cad654d2ac02060 files/tinysvm-0.09-pm.patch 450 +SHA256 95fe45f550f9ff8080f4b92407daa71c8737a323347f4305a6914ec213228dc6 files/tinysvm-0.09-pm.patch 450 +DIST TinySVM-0.09.tar.gz 317636 RMD160 d44586810d4776a251cda4a08b1aa9148108c8e6 SHA1 9c3c36454c475180ef6646d059376f35549cad08 SHA256 e377f7ede3e022247da31774a4f75f3595ce768bc1afe3de9fc8e962242c7ab8 +EBUILD tinysvm-0.09-r1.ebuild 1680 RMD160 b407ca4ac289b89dbbd5b85aa3a04eb9279e3d08 SHA1 ed11628783e7ca0d7b9dc76a3f35999bab708562 SHA256 3a52aea1253ed8a6b68496e33d75b9bf69701857b24b6e7c4535435b7ea330f9 +MD5 ea682f881a3800a8cf0503539fc7cb1b tinysvm-0.09-r1.ebuild 1680 +RMD160 b407ca4ac289b89dbbd5b85aa3a04eb9279e3d08 tinysvm-0.09-r1.ebuild 1680 +SHA256 3a52aea1253ed8a6b68496e33d75b9bf69701857b24b6e7c4535435b7ea330f9 tinysvm-0.09-r1.ebuild 1680 +EBUILD tinysvm-0.09.ebuild 730 RMD160 bb92f402ac67655d0b57973556a7ee0292054ee9 SHA1 223d8887b37a7044c4d61f58de3a7be9f465f57b SHA256 212ca221cb2c332cae6e21c6f26c02c4385bbbb078618bdc88c66ee9753eb930 MD5 72c6c50b50af5b1299dc2e8232a41697 tinysvm-0.09.ebuild 730 -MD5 3ff31b5479b2a0244f5711fff3155aed metadata.xml 221 -MD5 2a286d6465a6602cec43d3414db827f7 ChangeLog 470 -MD5 db1f660e9bc1c0af7d2ad5c4337be91e tinysvm-0.09-r1.ebuild 1569 -MD5 3680ed9be508eeea6d4c6779ac6ad828 files/digest-tinysvm-0.09-r1 64 -MD5 3680ed9be508eeea6d4c6779ac6ad828 files/digest-tinysvm-0.09 64 +RMD160 bb92f402ac67655d0b57973556a7ee0292054ee9 tinysvm-0.09.ebuild 730 +SHA256 212ca221cb2c332cae6e21c6f26c02c4385bbbb078618bdc88c66ee9753eb930 tinysvm-0.09.ebuild 730 +MISC ChangeLog 641 RMD160 c7f60cfa46cf9c697c0339d2c030135cc63a6b33 SHA1 641e71deb01e1958139c4c7932d74e883aa1fc21 SHA256 b349e5b600219caf3516ed6db71b1d5ba0515b6f711f87210795ea37065de1bf +MD5 8275efce0a274b545af80e0acc1ca44f ChangeLog 641 +RMD160 c7f60cfa46cf9c697c0339d2c030135cc63a6b33 ChangeLog 641 +SHA256 b349e5b600219caf3516ed6db71b1d5ba0515b6f711f87210795ea37065de1bf ChangeLog 641 +MISC metadata.xml 217 RMD160 bf913446ac07d155c37d0a8f39c2350fe6fc3408 SHA1 d0a7c7cd669b056d6908988e6db188a29df49cc4 SHA256 bf244e77a84da5cfbe12c93bc9b625a7fd9054aa5c556179a0dc6c26daf15639 +MD5 969f76b09c91413e51fee97e4be35b20 metadata.xml 217 +RMD160 bf913446ac07d155c37d0a8f39c2350fe6fc3408 metadata.xml 217 +SHA256 bf244e77a84da5cfbe12c93bc9b625a7fd9054aa5c556179a0dc6c26daf15639 metadata.xml 217 +MD5 dfaf3085868efadcad971befea8cc4e2 files/digest-tinysvm-0.09 238 +RMD160 148174055b487b49af32bc056bb15ce1ac71ec12 files/digest-tinysvm-0.09 238 +SHA256 42ee0dd246a505f920701fef6c47499b851667ccd886bca4f8a5dba0dbe25bb9 files/digest-tinysvm-0.09 238 +MD5 dfaf3085868efadcad971befea8cc4e2 files/digest-tinysvm-0.09-r1 238 +RMD160 148174055b487b49af32bc056bb15ce1ac71ec12 files/digest-tinysvm-0.09-r1 238 +SHA256 42ee0dd246a505f920701fef6c47499b851667ccd886bca4f8a5dba0dbe25bb9 files/digest-tinysvm-0.09-r1 238 diff --git a/sci-misc/tinysvm/files/digest-tinysvm-0.09 b/sci-misc/tinysvm/files/digest-tinysvm-0.09 index 7aa7e4442323..fe159480639e 100644 --- a/sci-misc/tinysvm/files/digest-tinysvm-0.09 +++ b/sci-misc/tinysvm/files/digest-tinysvm-0.09 @@ -1 +1,3 @@ MD5 22d80bdd94c3c8373062761de0d27fde TinySVM-0.09.tar.gz 317636 +RMD160 d44586810d4776a251cda4a08b1aa9148108c8e6 TinySVM-0.09.tar.gz 317636 +SHA256 e377f7ede3e022247da31774a4f75f3595ce768bc1afe3de9fc8e962242c7ab8 TinySVM-0.09.tar.gz 317636 diff --git a/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 b/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 index 7aa7e4442323..fe159480639e 100644 --- a/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 +++ b/sci-misc/tinysvm/files/digest-tinysvm-0.09-r1 @@ -1 +1,3 @@ MD5 22d80bdd94c3c8373062761de0d27fde TinySVM-0.09.tar.gz 317636 +RMD160 d44586810d4776a251cda4a08b1aa9148108c8e6 TinySVM-0.09.tar.gz 317636 +SHA256 e377f7ede3e022247da31774a4f75f3595ce768bc1afe3de9fc8e962242c7ab8 TinySVM-0.09.tar.gz 317636 diff --git a/sci-misc/tinysvm/files/tinysvm-0.09-pm.patch b/sci-misc/tinysvm/files/tinysvm-0.09-pm.patch new file mode 100644 index 000000000000..49fd528d7f05 --- /dev/null +++ b/sci-misc/tinysvm/files/tinysvm-0.09-pm.patch @@ -0,0 +1,12 @@ +--- perl/Makefile.PL.in.orig 2001-08-29 23:56:31.000000000 +0900 ++++ perl/Makefile.PL.in 2006-06-20 08:38:44.000000000 +0900 +@@ -4,7 +4,7 @@ + WriteMakefile( + 'CC' => '@CXX@', + 'NAME' => 'TinySVM', +- 'INC' => '-I@prefix@/include', +- 'LIBS' => '-L@prefix@/lib -ltinysvm', ++ 'INC' => '-I../src -I@prefix@/include', ++ 'LIBS' => '-L../src -L@prefix@/lib -ltinysvm', + 'OBJECT' => 'TinySVM_wrap.o' + ); diff --git a/sci-misc/tinysvm/metadata.xml b/sci-misc/tinysvm/metadata.xml index 0d93ebc2d237..f0c4bf8500ee 100644 --- a/sci-misc/tinysvm/metadata.xml +++ b/sci-misc/tinysvm/metadata.xml @@ -1,7 +1,7 @@ -no-herd +cjk usata@gentoo.org diff --git a/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild b/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild index 091b6668f15b..e28b13645084 100644 --- a/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild +++ b/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild,v 1.1 2005/12/25 17:15:25 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/tinysvm/tinysvm-0.09-r1.ebuild,v 1.2 2006/06/19 23:45:41 usata Exp $ -inherit perl-module flag-o-matic +inherit perl-module flag-o-matic eutils MY_PN="TinySVM" MY_P="${MY_PN}-${PV}" @@ -23,6 +23,14 @@ IUSE="perl" DEPEND="" #RDEPEND="" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-pm.patch + cd ${S}/src + ln -s . TinySVM +} + src_compile() { append-ldflags -lstdc++ econf || die -- 2.26.2