# HG changeset patch # User Mark Brand # Date 1349965764 -7200 # Node ID bd0fe0e0dac129743e43684213f46dd9eceeefc0 # Parent 6a8438dd88cd140cd8d5f312c506e63831dcdd61 package pthreads: fix update macro diff -r 6a8438dd88cd -r bd0fe0e0dac1 src/pthreads.mk --- a/src/pthreads.mk Thu Oct 11 13:27:17 2012 +0200 +++ b/src/pthreads.mk Thu Oct 11 16:29:24 2012 +0200 @@ -10,10 +10,8 @@ $(PKG)_DEPS := gcc define $(PKG)_UPDATE - $(WGET) -q -O- 'ftp://sourceware.org/pub/pthreads-win32/Release_notes' | \ - $(SED) -n 's,^RELEASE \([0-9][^[:space:]]*\).*,\1,p' | \ - tr '.' '-' | \ - head -1 + $(WGET) -q -O- 'ftp://sourceware.org/pub/pthreads-win32/dll-latest/include/pthread.h' | \ + $(SED) -n 's/^#define PTW32_VERSION \([^,]*\),\([^,]*\),\([^,]*\),.*/\1-\2-\3/p;' endef define $(PKG)_BUILD