wok-current rev 11339
libpng: Make sure $PATCH is in $SOURCES_REPOSITORY.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 26 03:56:37 2011 +0000 (2011-11-26) |
parents | b9d6a352230c |
children | 86a7edddf412 |
files | libpng/receipt |
line diff
1.1 --- a/libpng/receipt Fri Nov 25 10:38:34 2011 +0000 1.2 +++ b/libpng/receipt Sat Nov 26 03:56:37 2011 +0000 1.3 @@ -17,7 +17,8 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - wget $PATCH 1.8 + [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || 1.9 + wget -P $SOURCES_REPOSITORY $PATCH 1.10 # Add animated PNG (apng) support 1.11 # see http://sourceforge.net/projects/libpng-apng/ 1.12 zcat $(basename $PATCH) | patch -p1