use a default in case COWPATH is not set
This commit is contained in:
parent
ffe7d5fc1b
commit
8cecaa7732
@ -4,12 +4,7 @@ DISTNAME= Acme-Cow-0.2
|
||||
MODULES= cpan
|
||||
PKGNAME= cowsay-0.2
|
||||
EPOCH= 0
|
||||
|
||||
#GH_ACCOUNT= tnalpgge
|
||||
#GH_PROJECT= rank-amateur-cowsay
|
||||
#GH_COMMIT= d66b866cf136502054e081b8714b09f7e43cd39f
|
||||
|
||||
#DISTNAME= cowsay-3.04
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= games
|
||||
|
||||
|
12
games/cowsay/patches/patch-cowsay
Normal file
12
games/cowsay/patches/patch-cowsay
Normal file
@ -0,0 +1,12 @@
|
||||
Index: cowsay
|
||||
--- cowsay.orig
|
||||
+++ cowsay
|
||||
@@ -16,7 +16,7 @@ use Getopt::Std;
|
||||
|
||||
my $VERSION = "4.0";
|
||||
my $progname = basename($0);
|
||||
-my $cowpath = $ENV{'COWPATH'} || ".";
|
||||
+my $cowpath = $ENV{'COWPATH'} || "/usr/local/share/cows";
|
||||
|
||||
## One of these days, we'll get it ported to Windows. Yeah, right.
|
||||
|
12
games/cowsay/patches/patch-cowthink
Normal file
12
games/cowsay/patches/patch-cowthink
Normal file
@ -0,0 +1,12 @@
|
||||
Index: cowthink
|
||||
--- cowthink.orig
|
||||
+++ cowthink
|
||||
@@ -16,7 +16,7 @@ use Getopt::Std;
|
||||
|
||||
my $VERSION = "4.0";
|
||||
my $progname = basename($0);
|
||||
-my $cowpath = $ENV{'COWPATH'} || ".";
|
||||
+my $cowpath = $ENV{'COWPATH'} || "/usr/local/share/cows";
|
||||
|
||||
## One of these days, we'll get it ported to Windows. Yeah, right.
|
||||
|
Loading…
Reference in New Issue
Block a user