--- a/w32api/package.ini
+++ b/w32api/package.ini
@@ -28,14 +28,14 @@
 # This file was modified for the template-1.0.0 released file and represents the
 # configuration of the distributed binary release found at the project URL of
-# http://sf.net/projects/mingw/files/MinGW/Base/w32api/w32api-4.0.0/.
+# http://sf.net/projects/mingw/files/MinGW/Base/w32api/w32api-4.0.2/.
 # This variable contains the name of the package, e.g. mingwrt.
 PKG = w32api
 # This variable contains the package version as is shown by the name of the
 # package file.
-PKGVER = 4.0.0
+PKGVER = 4.0.2
 # This variable contains additional package name data, usually empty. E.G. the
 # upstream pthreads-w32 package name is pthreads-w32-2-9-1-release, the PKGEXTRA
@@ -48,7 +48,7 @@
 # This variable gives the URL to find the package name in order to download it
 # if necessary.  The $(PKGFILE) is a target in the Makefile and its rules will
 # use this variable to attempt to download the file.
-PKGURL = http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/w32api-4.0.0
+PKGURL = http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/$(PKG)-$(PKGVER)
 # This is the version of the package we wish to provide in package naming.  This
 # variable will usually match the $(PKGVER) variable but sometimes the upstream