diff options
Diffstat (limited to 'perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild')
-rw-r--r-- | perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild index 7833243fba..77620c6d3a 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=perl-lwp-useragent-cached -VERSION=${VERSION:-0.07} +VERSION=${VERSION:-0.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # it wants to interactively ask whether to automatically install # Test::Mock::LWP::Dispatch for its tests. Don't let it. -patch -p1 < $CWD/no_test_requires.diff +case "$VERSION" in + 0.06|0.07) patch -p1 < $CWD/no_test_requires.diff ;; +esac perl Makefile.PL \ PREFIX=/usr \ |