diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 05:54:22 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 05:54:22 +0000 |
commit | 16eaac5dfb0341c1e313cb9978c50f0cad3b5715 (patch) | |
tree | 529980ea7fef6856f058b51189f41a5bc38c6cfd /app-admin/passook/files | |
parent | Bump to EAPI=3, add prefix keywords (diff) | |
download | gentoo-2-16eaac5dfb0341c1e313cb9978c50f0cad3b5715.tar.gz gentoo-2-16eaac5dfb0341c1e313cb9978c50f0cad3b5715.tar.bz2 gentoo-2-16eaac5dfb0341c1e313cb9978c50f0cad3b5715.zip |
Bump to EAPI=3, add prefix keywords, update patch
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-admin/passook/files')
-rw-r--r-- | app-admin/passook/files/passook.patch (renamed from app-admin/passook/files/passook.diff) | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/app-admin/passook/files/passook.diff b/app-admin/passook/files/passook.patch index 13639ff90329..db14e6ec817c 100644 --- a/app-admin/passook/files/passook.diff +++ b/app-admin/passook/files/passook.patch @@ -1,11 +1,17 @@ ---- passook.orig Fri Jan 26 15:02:26 2001 -+++ passook Fri Apr 26 02:03:22 2002 +--- passook.orig ++++ passook +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!@GENTOO_PORTAGE_EPREFIX@/usr/bin/perl + + srand; + $p = 3; #default pronouce level @@ -38,7 +38,7 @@ } sub fourletterword { - my $grepstring = 'egrep "^....$" /usr/dict/words'; -+ my $grepstring = 'egrep "^....$" /usr/share/dict/words'; ++ my $grepstring = 'egrep "^....$" @GENTOO_PORTAGE_EPREFIX@/usr/share/dict/words'; my @fourletters = split(/\n/,`$grepstring`); my $word = $fourletters[rand(@fourletters)]; $word = &tangle($word) if ($p<5); @@ -14,7 +20,7 @@ sub threeletterword { - my $grepstring = 'egrep "^...$" /usr/dict/words'; -+ my $grepstring = 'egrep "^...$" /usr/share/dict/words'; ++ my $grepstring = 'egrep "^...$" @GENTOO_PORTAGE_EPREFIX@/usr/share/dict/words'; my @threeletters = split(/\n/,`$grepstring`); my $word = $threeletters[rand(@threeletters)]; $word = &tangle($word) if ($p<5); |