wok diff libpng/receipt @ 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 174c53de4876
children 810a579f14cf
line diff
     1.1 --- a/libpng/receipt	Fri Nov 25 09:54:50 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